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