Class Example1Door
Example implementation of doors that are opened (disabled) after pressing E if the player is near enough.
Implements
Inherited Members
Namespace: Edgar.Unity.Examples.Example1
Assembly: cs.temp.dll.dll
Syntax
public class Example1Door : InteractableBase, IInteractable
Methods
BeginInteract()
Show text when the interaction begins (player is close to the doors).
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()