Class Behaviour
Behaviour setting.
行為設定。
Inherited Members
Namespace: Votanic.vXR.vGear.Scenario
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Behaviour : Element
Fields
foldout
Display details on Inspector.
詳細顯示於 Inspector。
Declaration
[HideInInspector]
public bool foldout
Field Value
Type | Description |
---|---|
System.Boolean |
isTriggered
Return true if this behaviour is triggered.
當這個行為已觸發時傳回 true。
Declaration
public bool isTriggered
Field Value
Type | Description |
---|---|
System.Boolean |
loop
Behaviour loop state.
行為循環狀態。
Declaration
public BehaviourLoop loop
Field Value
Type | Description |
---|---|
BehaviourLoop |
plans
The group of actions may be played.
行為可能觸發的動作列表群組。
Declaration
public List<Actions> plans
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Actions> |
triggers
The group of conditions can trigger the behaviour.
可觸發行為的條件列表群組。
Declaration
public List<Conditions> triggers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Conditions> |
Methods
ResetBehaviour()
Reset this behaviour.
重置這個行為。
Declaration
public void ResetBehaviour()