Base Interactable - Hawthorn-Games/ProjectScrapped GitHub Wiki

Variables

Type Name Description
bool CanBeInteractedDirectly If set to true the player is able to interact with it when nearby
bool ShowInteractPopup If set to true when the player is close, the interact popup will be displayed
bool ShowSmallInteraction If set to true, if ShowInteractPopup is also true, when the Interact popup is hidden, a smaller widget is displayed instead
transform InitialTransform the actor original transform
InstructionList[] PreProgrammedList The original list of instructions

Functions

ResetActor()

Resets the actor to its original transform

SetStartList()

Type Name Description
InstructionList[] List The original list to restore

Set the start list to List

SetStartListOfAllActorsOfClass()

Type Name Description
ActorClass Class
InstructionList[] List

Calls SetStartList of all actors of class Class in the current puzzle with List as parameter.

ResetInstructionList()

Type Name Description
InstructionList[] List The original list to restore

Reset the StartList to the original one

Interact()

To be overridden.

⚠️ **GitHub.com Fallback** ⚠️