Ejemplo n.º 1
0
 public override void Interact(PlayerCharacter c)
 {
     if (canInteract == true)
     {
         base.Interact(c);
         chestDatabase.SetValue(chestID, 1);
         canInteract = false;
         DrawChest();
         StartCoroutine(ChestCoroutine(c));
     }
 }