Exemplo n.º 1
0
 private void SetInitialReferences()
 {
     if (GameObject.Find("Wall") != null)
     {
         walkThroughWallScript = GameObject.Find("Wall").GetComponent <WalkThroughWall>();
     }
     eventMasterScript = GameObject.Find("GameManager").GetComponent <GameManagerEventMaster>();
 }
Exemplo n.º 2
0
 void SetInitialReferences()
 {
     eventMasterScript = GameObject.Find("GameManager").GetComponent <GameManagerEventMaster>();
 }