2using System.Collections.Generic;
18 Debug.Log(
"StartPlayAnimation : IStep");
20 if (interactables !=
null)
22 foreach (var item
in interactables)
Function of playing the animation and waiting for it to complete.
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
Action OnFunctionFinished
void FunctionFinished()
Called to end current step and start a next one.
Basic interface of functions. (Please note that iStep is a wrong name)