void Start()
 {
     unitManager = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent<UnitManager>();
     attackMoveIndicator = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent<AttackMoveIndicatorScript>();
     mainCamera = GameObject.FindGameObjectWithTag("MainCamera");
     pauseMenu = mainCamera.GetComponent<PauseMenuGUI>();
 }
 void Start()
 {
     unitManager         = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent <UnitManager>();
     attackMoveIndicator = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent <AttackMoveIndicatorScript>();
     mainCamera          = GameObject.FindGameObjectWithTag("MainCamera");
     pauseMenu           = mainCamera.GetComponent <PauseMenuGUI>();
 }
Beispiel #3
0
 void Start()
 {
     unitManager         = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent <UnitManager>();
     attackMoveIndicator = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent <AttackMoveIndicatorScript>();
     selectionBox        = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CreateSelectionBox>();
 }
Beispiel #4
0
 void Start()
 {
     unitManager = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent<UnitManager>();
     attackMoveIndicator = GameObject.FindGameObjectWithTag("PlayerUnitManager").GetComponent<AttackMoveIndicatorScript>();
     selectionBox = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<CreateSelectionBox>();
 }