Example #1
0
 private void OpenDoor()
 {
     if (_inventory.CheckItemInInventory(new WitchKey()))
     {
         _anim.SetBool("Opened", true);
         _inventory.RemoveItemFromInventory(new WitchKey());
         _closedDoor = false;
     }
 }