public override void Deactivate(GameObject actor) { hasBeenHit = false; isInteracted = false; PlayAnimOff(); EventInteracted.Invoke(actor); EventDeactivated.Invoke(actor); }
public override void Deactivate(GameObject actor) { isInteracted = false; if (GetComponent <SpriteRenderer>()) { GetComponent <SpriteRenderer>().sprite = off; } EventDeactivated.Invoke(actor); }
public override void Deactivate(GameObject actor) { CloseDoor(); EventDeactivated.Invoke(actor); }
public override void Deactivate(GameObject actor) { gameManager.uiManager.CanvasUI.encyclopedia.GetComponent <InventoryActor>().interactable = null; gameManager.uiManager.CanvasUI.EventDialogueClosed.RemoveListener(gameManager.uiManager.CanvasUI.ForceOpen); EventDeactivated.Invoke(actor); }