// Use this for initialization
 void Start()
 {
     respawned            = false;
     checkpointController = FindObjectOfType <CheckpointController> ();
     player         = GameObject.Find("Player");
     contextualText = player.GetComponentInChildren <MeshRenderer> ();
     boss           = FindObjectOfType <CannibalAlien> ();
     frameCount     = 0;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     boss = FindObjectOfType <CannibalAlien> ();
 }