OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
StepFunction.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
Sirenix.OdinInspector;
4
using
UnityEngine;
5
6
namespace
PixoVR.Event
7
{
8
[Serializable]
9
public
class
StepFunction
10
{
11
[SerializeField]
public
Function
function
;
12
13
[Space] [SerializeField] [CustomValueDrawer(
"DrawValueProperty"
)]
14
public
string
value
;
15
[SerializeField]
16
public
string
[]
additionalValues
;
17
18
[Space]
19
[SerializeField]
public
List<ItemsEnum>
itemsForAction
;
//view, take, highlight, activate
20
[SerializeField]
public
bool
waitForDone
;
21
[ReadOnly]
public
StepItemSO
owner
;
22
public
int
GetFunctionId
()
23
{
24
return
(
int
)
function
;
25
}
26
#if UNITY_EDITOR
27
public
string
DrawValueProperty(
string
value
, GUIContent label)
28
{
29
return
FunctionValueDrawer.Draw(
function
,
value
, label,
owner
);
30
}
31
#endif
32
}
33
}
PixoVR.Event.StepFunction
[Serializable]
Definition
StepFunction.cs:13
PixoVR.Event.StepFunction.waitForDone
bool waitForDone
[SerializeField]
Definition
StepFunction.cs:35
PixoVR.Event.StepFunction.additionalValues
string[] additionalValues
[SerializeField]
Definition
StepFunction.cs:25
PixoVR.Event.StepFunction.GetFunctionId
int GetFunctionId()
Definition
StepFunction.cs:37
PixoVR.Event.StepFunction.value
string value
Definition
StepFunction.cs:20
PixoVR.Event.StepFunction.itemsForAction
List< ItemsEnum > itemsForAction
[SerializeField]
Definition
StepFunction.cs:31
PixoVR.Event.StepFunction.owner
StepItemSO owner
Definition
StepFunction.cs:36
PixoVR.Event.StepItemSO
Definition
StepItemSO.cs:14
PixoVR.Event
Definition
ItemIDAttribute.cs:5
PixoVR.Event.Function
Function
A list of functions ID that are used by the step manager to call specific methods.
Definition
Function.cs:13
com.pixovr.eventunitysdk
Runtime
Sdk
Scripts
StepFunction.cs
Generated
Wed Oct 9 2024 19:24:03
by Doxygen version
1.10.0