Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     uiManager          = GameObject.FindGameObjectWithTag("UIManager").GetComponent <UI_Manager>();
     uiUtils            = uiManager.GetComponent <UI_Utilities>();
     selectionManager   = GameObject.FindGameObjectWithTag("Selection Manager").GetComponent <SelectionManager>();
     currentActionTiles = new List <GameObject>();
 }
Exemplo n.º 2
0
 private void Start()
 {
     uiManager        = GameObject.FindGameObjectWithTag("UIManager").GetComponent <UI_Manager>();
     uiUtils          = uiManager.gameObject.GetComponent <UI_Utilities>();
     currentSelection = new List <GameObject>();
     gm = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameManager>();
     sm = gm.GetComponentInChildren <SelectionManager>();
 }