OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
WaitingForChoice.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
PixoVR.Core
;
4
using
UnityEngine;
5
6
namespace
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"
);
15
FunctionFinished
();
16
}
17
18
public
void
FunctionFinished
()
19
{
20
OnFunctionFinished
?.Invoke();
21
}
22
}
23
}
PixoVR.Event.StepFunction
[Serializable]
Definition
StepFunction.cs:13
PixoVR.Event.StepItem
[Serializable]
Definition
StepItem.cs:12
PixoVR.Event.WaitingForChoice
Definition
WaitingForChoice.cs:9
PixoVR.Event.WaitingForChoice.FunctionFinished
void FunctionFinished()
Called to end current step and start a next one.
Definition
WaitingForChoice.cs:18
PixoVR.Event.WaitingForChoice.OnFunctionFinished
Action OnFunctionFinished
Definition
WaitingForChoice.cs:10
PixoVR.Event.WaitingForChoice.StartStep
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
Definition
WaitingForChoice.cs:12
PixoVR.Event.IStep
Basic interface of functions. (Please note that iStep is a wrong name)
Definition
IStep.cs:10
PixoVR.Core
Definition
EventBetter.cs:14
PixoVR.Event
Definition
ItemIDAttribute.cs:5
com.pixovr.eventunitysdk
Runtime
Sdk
Scripts
IStepScripts
WaitingForChoice.cs
Generated
Wed Oct 9 2024 19:24:03
by Doxygen version
1.10.0