OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
HideModel.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
4
namespace
PixoVR.Event
5
{
6
public
class
HideModel
:
IStep
7
{
8
9
public
event
Action
OnFunctionFinished
;
10
11
public
void
StartStep
(
StepItem
stepItem,
StepFunction
function
, List<InteractableClass> interactables =
null
, Action onStepSkipped =
null
)
12
{
13
if
(interactables !=
null
)
14
{
15
foreach
(var item
in
interactables)
16
{
17
item.HideModel();
18
}
19
}
20
FunctionFinished
();
21
}
22
23
public
void
FunctionFinished
()
24
{
25
OnFunctionFinished
?.Invoke();
26
}
27
}
28
}
PixoVR.Event.HideModel
Definition
HideModel.cs:7
PixoVR.Event.HideModel.FunctionFinished
void FunctionFinished()
Called to end current step and start a next one.
Definition
HideModel.cs:23
PixoVR.Event.HideModel.OnFunctionFinished
Action OnFunctionFinished
Definition
HideModel.cs:9
PixoVR.Event.HideModel.StartStep
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
Definition
HideModel.cs:11
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
HideModel.cs
Generated
Mon Jan 27 2025 17:46:13
by Doxygen version
1.10.0