Esempio n. 1
0
 void Awake()
 {
     spawnTrigger = GetComponent<SphereCollider>();
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
 }
Esempio n. 2
0
 void Awake()
 {
     player = GameObject.FindGameObjectWithTag(TagsAndLayers.player);
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
 }
Esempio n. 3
0
 void Awake()
 {
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
     deathScreen = GetComponentInChildren<GUITexture>();
 }
Esempio n. 4
0
 void Awake()
 {
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
     //jgr.jgs.gameState = JumpGameState.GameStateJump.Starting;
 }
Esempio n. 5
0
 void Awake()
 {
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
     playerMotor = GetComponent<CharacterMotor>();
 }
Esempio n. 6
0
 void Awake()
 {
     timerText = GetComponent<GUIText>();
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
 }
Esempio n. 7
0
 void Awake()
 {
     jgr = GameObject.FindGameObjectWithTag(TagsAndLayers.gameController).GetComponent<JumpGameReferences>();
     textElements = GetComponentsInChildren<GUIText>();
 }