Class GungeonDoor
Example implementation of doors that can be locked.
Implements
Inherited Members
Namespace: Edgar.Unity.Examples.Gungeon
Assembly: cs.temp.dll.dll
Syntax
public class GungeonDoor : InteractableBase, IInteractable
Fields
State
Declaration
public GungeonDoor.DoorState State
Field Value
Type | Description |
---|---|
GungeonDoor.DoorState |
Methods
BeginInteract()
Show text when the interaction begins (player is close to the door).
Declaration
public override void BeginInteract()
Overrides
EndInteract()
Hide text when the interaction ends (player gets further from doors).
Declaration
public override void EndInteract()
Overrides
Interact()
Check for key press when the player is near.
Declaration
public override void Interact()