2using System.Collections.Generic;
Function is used to wait for the player to interact with the object.
Action OnFunctionFinished
void FunctionFinished()
Called to end current step and start a next one.
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
Basic interface of functions. (Please note that iStep is a wrong name)