OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
SetAdditionalParamsForItem.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
SetAdditionalParamsForItem
:
IStep
7
{
8
9
public
event
Action
OnFunctionFinished
;
10
public
void
StartStep
(
StepItem
stepItem,
StepFunction
function
, List<InteractableClass> interactables =
null
, Action onStepSkipped =
null
)
11
{
12
interactables?[0].SetParametersForItem(
function
.value,
function
.additionalValues);
13
FunctionFinished
();
14
}
15
16
public
void
FunctionFinished
()
17
{
18
OnFunctionFinished
?.Invoke();
19
}
20
}
21
}
PixoVR.Event.SetAdditionalParamsForItem
Definition
SetAdditionalParamsForItem.cs:7
PixoVR.Event.SetAdditionalParamsForItem.OnFunctionFinished
Action OnFunctionFinished
Definition
SetAdditionalParamsForItem.cs:9
PixoVR.Event.SetAdditionalParamsForItem.FunctionFinished
void FunctionFinished()
Called to end current step and start a next one.
Definition
SetAdditionalParamsForItem.cs:16
PixoVR.Event.SetAdditionalParamsForItem.StartStep
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
Definition
SetAdditionalParamsForItem.cs:10
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
SetAdditionalParamsForItem.cs
Generated
Wed Oct 9 2024 19:24:02
by Doxygen version
1.10.0