Documentation for the Unity C# Library
Loading...
Searching...
No Matches
IStep.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3
4namespace PixoVR.Event
5{
9 public interface IStep
10 {
11 public event Action OnFunctionFinished;
12
13 public void StartStep(StepItem stepItem,StepFunction function, List<InteractableClass> interactables = null, Action onStepSkipped = null);
14
18 public void FunctionFinished();
19 }
20}
[Serializable]
Definition StepItem.cs:12
Basic interface of functions. (Please note that iStep is a wrong name)
Definition IStep.cs:10
void FunctionFinished()
Called to end current step and start a next one.
Action OnFunctionFinished
Definition IStep.cs:11
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)