2using System.Collections;
3using System.Collections.Generic;
16 if (interactables !=
null)
18 foreach (var item
in interactables)
20 item.SetDefaultState();
Function of returning an object to its initial state.
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)