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