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