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