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