Documentation for the Unity C# Library
Loading...
Searching...
No Matches
WaitingForChoice.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using PixoVR.Core;
4using UnityEngine;
5
6namespace PixoVR.Event
7{
8 public class WaitingForChoice : IStep
9 {
10 public event Action OnFunctionFinished;
11
12 public void StartStep(StepItem stepItem, StepFunction function, List<InteractableClass> interactables = null, Action onStepSkipped = null)
13 {
14 Debug.Log("WaitingForChoice : IStep");
16 }
17
18 public void FunctionFinished()
19 {
20 OnFunctionFinished?.Invoke();
21 }
22 }
23}
[Serializable]
Definition StepItem.cs:12
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)
Definition IStep.cs:10