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