Beispiel #1
0
 public void Start()
 {
     dialogueScript             = GetComponent <DialogueScript>();
     dialogueScript.alertPlayer = true;
     dialogueScript.TurnOffBox();
     player = GameObject.FindGameObjectWithTag("Player").transform;
     Debug.Log("Found player transform at position " + player.position);
     playerMovement = player.GetComponent <Movement>();
     questManager   = GameObject.FindObjectOfType <QuestManager>();
 }