Show / Hide Table of Contents

Class Action

Behaviour action setting.
行為動作設定。

Inheritance
System.Object
Element
Action
Inherited Members
Element.name
Element.Equals(String, Boolean)
Element.Contains(String, Boolean, Boolean)
Namespace: Votanic.vXR.vGear.Scenario
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Action : Element

Constructors

Action()

Declare an action.
宣傳一個動作。

Declaration
public Action()

Fields

changeOfTransform

Transform type action.
變換類型動作。

Declaration
public Coordinate changeOfTransform
Field Value
Type Description
Coordinate

color

Color type action.
顏色類型動作。

Declaration
public Color color
Field Value
Type Description
UnityEngine.Color

count

Integer type action.
整數類型動作。

Declaration
public int count
Field Value
Type Description
System.Int32

delay

Delay a while before the action.
延遲動作。

Declaration
public float delay
Field Value
Type Description
System.Single

detector

Detector for some actions.
某些動作需要的偵測器。

Declaration
public vGear_Detector detector
Field Value
Type Description
vGear_Detector

getTargetByCondition

Get the last condition target as target.
根據最後的條件值作為整數值的值。

Declaration
public bool getTargetByCondition
Field Value
Type Description
System.Boolean

getValueByCondition

Get the last condition value as value.
根據最後的條件值作為浮點值的值。

Declaration
public bool getValueByCondition
Field Value
Type Description
System.Boolean

mediaPlayerAction

Media type action.
媒體類型動作。

Declaration
public MediaPlayerAction mediaPlayerAction
Field Value
Type Description
MediaPlayerAction

message

String type action.
字串類型動作。

Declaration
public string message
Field Value
Type Description
System.String

motion

Motion type action.
運動類型動作。

Declaration
public MotionDetail motion
Field Value
Type Description
MotionDetail

open

Boolean type action.
是非類型動作。

Declaration
public bool open
Field Value
Type Description
System.Boolean

probability

Probability for playing the action.
執行動作的概率。

Declaration
[Range(0F, 1F)]
public float probability
Field Value
Type Description
System.Single

range

Range of value or count.
Value 或 Count 的範圍值。

Declaration
public float range
Field Value
Type Description
System.Single

repeat

Repeat action if true.
當 true 時重複動作。

Declaration
public bool repeat
Field Value
Type Description
System.Boolean

target

Int type action.
整數類型動作。

Declaration
public int target
Field Value
Type Description
System.Int32

targetObjects

Object list for some actions.
某些動作需要的物件列表。

Declaration
public List<Transform> targetObjects
Field Value
Type Description
System.Collections.Generic.List<UnityEngine.Transform>

targetPoints

Point list for some actions.
某些動作需要的地點列表。

Declaration
public List<Transform> targetPoints
Field Value
Type Description
System.Collections.Generic.List<UnityEngine.Transform>

type

Action types of behaviour in Scenario System.
劇情系統的行為動作類型。

Declaration
public ActionType type
Field Value
Type Description
ActionType

unityEvent

The event needed to be called or passed parameters.
需要呼叫或傳遞參數的事件。

Declaration
public ParameterEvent unityEvent
Field Value
Type Description
ParameterEvent

value

Float type action.
浮點值類型動作。

Declaration
public float value
Field Value
Type Description
System.Single
In This Article
Back to top Generated by DocFX