Пример #1
0
 // Use this for initialization
 void Start()
 {
     Boss             = GameObject.Find("ForestBoss");
     FBM              = Boss.GetComponent <ForestBoss_Manager>();
     BossMusicTrigger = GameObject.Find("BossMusicTrigger").GetComponent <ChangeBackgroundMusic>();
     MainCamera       = GameObject.Find("Main Camera").GetComponent <CameraFollow>();
     Player           = GameObject.Find("Player");
     PM           = Player.GetComponent <Player_Manager>();
     BossText     = GameObject.Find("BossText");
     BossTextText = BossText.GetComponent <Text>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     boss      = GameObject.Find("ForestBoss").GetComponent <ForestBoss_Manager>();
     lifeTimer = 90;
 }