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