Ejemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         MainCharacterAttributes attr = other.gameObject.GetComponent <MainCharacterAttributes>();
         if (attr.heldSkull == skull)
         {
             MessageSystem.GetInstance().StartDialogue("Danke :)");
         }
     }
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     Instance = this;
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     Instance = this;
 }