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