2using System.Collections;
3using System.Collections.Generic;
18 foreach (var item
in interactables)
20 item.TurnOnOffState(
false);
TurnOnOff (Off) method call function.
Action OnFunctionFinished
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables, Action onStepSkipped=null)
void FunctionFinished()
Called to end current step and start a next one.
Basic interface of functions. (Please note that iStep is a wrong name)