// Use this for initialization
 void Start()
 {
     objectiveScript = GameObject.Find("QuestPanel").GetComponent <objectivesLogic>();
     player          = GameObject.FindGameObjectWithTag("Player");
     m_Animator      = player.GetComponent <Animator>();
 }
Пример #2
0
 private void Start()
 {
     uiScript        = GameObject.Find("UILogic").GetComponent <UILogicScript>();
     objectiveScript = GameObject.Find("QuestPanel").GetComponent <objectivesLogic>();
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     objectiveScript   = GameObject.Find("QuestPanel").GetComponent <objectivesLogic>();
     playerstateScript = GameObject.Find("Player").GetComponent <PlayerState>();
     sunScript         = GameObject.Find("Sun").GetComponent <OrbitScript>();
 }