// Use this for initialization
 void Start()
 {
     anim= GetComponent<Animator>();
     spawnPoint = GameObject.Find("Priest_Spawn").transform;
     finalMission = GameObject.Find("Missions").GetComponent<NPC_FinalMission>();
     audio2 = GetComponent<AudioSource>();
     OPEN = audio2.clip;
 }
Exemplo n.º 2
0
 void Start()
 {
     finalMission = GameObject.Find("Missions").GetComponent<NPC_FinalMission>();
 }