public in GetGameComponents< RtsGamePlayerObjectsInteractive >()) { selectedObject. playerSelectedgameObject

Posted on

public in GetGameComponents< RtsGamePlayerObjectsInteractive >()) { selectedObject. playerSelectedgameObject

public class RtsGamePlayerObjectsInteractive : MonoBehaviour {     private bool _playerSelectedgameObject = false;         public bool _playerGameObjectSwap = false;     public bool playerSelectedgameObject { get { return _playerSelectedgameObject; } }      public void gameOBjectSelect()     {        _playerSelectedgameObject = true;        foreach (var selectedObject in GetGameComponents< RtsGamePlayerObjectsInteractive >()) {            selectedObject. playerSelectedgameObject ();        }    }     public void gameOBjectDeselect()    {        _playerSelectedgameObject = false;        foreach (var selectedObject in GetGameComponents< RtsGamePlayerObjectsInteractive >()) {            selectedObject. gameOBjectDeselect()        }    }

admin
Author

x

Hi!
I'm James!

Would you like to get a custom essay? How about receiving a customized one?

Check it out