Пример #1
0
 void SetInitialReferences()
 {
     mechMaster       = GetComponent <Mech_Master>();
     playerController = playerGo.GetComponent <PlayerController>();
 }
Пример #2
0
 void SetInitialReferences()
 {
     mechMaster = GameObject.FindGameObjectWithTag("GameHandler").GetComponent <Mech_Master>();
 }
Пример #3
0
 void SetInitialReferences()
 {
     mechMaster        = GetComponent <Mech_Master>();
     pointScript       = GetComponent <Mech_AddPoint>();
     gameManagerMaster = GetComponent <GameManager_Master>();
 }