Show / Hide Table of Contents

Class Parameter

The inheritable class for passing parameter to Unity Event. 用於傳遞參數至 Unity Event 的可繼承的類別。

Inheritance
System.Object
Parameter
InteractionParameter
Namespace: Votanic
Assembly: Votanic.Core.dll
Syntax
public class Parameter

Constructors

Parameter(Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(bool persistentPriority = true)
Parameters
Type Name Description
System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(Boolean, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(bool boolean, bool persistentPriority = true)
Parameters
Type Name Description
System.Boolean boolean

Boolean parameter
布林參數

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(Boolean, Int32, Single, String, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(bool boolean, int integer, float single, string text, bool persistentPriority = true)
Parameters
Type Name Description
System.Boolean boolean

Boolean parameter
布林參數

System.Int32 integer

Integer parameter
整數參數

System.Single single

Float parameter
浮點數參數

System.String text

String parameter
字串參數

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(Boolean, Int32, Single, String, List<Object>, List<Object>, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(bool boolean, int integer, float single, string text, List<object> objects, List<Object> unityObjects = null, bool persistentPriority = true)
Parameters
Type Name Description
System.Boolean boolean

Boolean parameter
布林參數

System.Int32 integer

Integer parameter
整數參數

System.Single single

Float parameter
浮點數參數

System.String text

String parameter
字串參數

System.Collections.Generic.List<System.Object> objects

System object parameter list
系統物件參數列表

System.Collections.Generic.List<UnityEngine.Object> unityObjects

Unity object parameter list
Unity 物件參數列表

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(List<Object>, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(List<object> objects, bool persistentPriority = true)
Parameters
Type Name Description
System.Collections.Generic.List<System.Object> objects

System object parameter list
系統物件參數列表

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(List<Object>, List<Object>, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(List<object> objects, List<Object> unityObjects = null, bool persistentPriority = true)
Parameters
Type Name Description
System.Collections.Generic.List<System.Object> objects

System object parameter list
系統物件參數列表

System.Collections.Generic.List<UnityEngine.Object> unityObjects

Unity object parameter list
Unity 物件參數列表

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(List<Object>, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(List<Object> unityObjects, bool persistentPriority = true)
Parameters
Type Name Description
System.Collections.Generic.List<UnityEngine.Object> unityObjects

Unity object parameter list
Unity 物件參數列表

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(Int32, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(int integer, bool persistentPriority = true)
Parameters
Type Name Description
System.Int32 integer

Integer parameter
整數參數

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(Single, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(float single, bool persistentPriority = true)
Parameters
Type Name Description
System.Single single

Float parameter
浮點數參數

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Parameter(String, Boolean)

Declare a parameter.
宣告一個參數。

Declaration
public Parameter(string text, bool persistentPriority = true)
Parameters
Type Name Description
System.String text

String parameter
字串參數

System.Boolean persistentPriority

Persistent listeners priority
非實時回調函數優先

Fields

boolean

Boolean parameter.
布林參數。

Declaration
public bool boolean
Field Value
Type Description
System.Boolean

integer

Integer parameter.
整數參數。

Declaration
public int integer
Field Value
Type Description
System.Int32

objectList

System object parameter list.
系統物件參數列表。

Declaration
public List<object> objectList
Field Value
Type Description
System.Collections.Generic.List<System.Object>

persistentPriority

Persistent listeners priority.
非實時回調函數優先。

Declaration
public bool persistentPriority
Field Value
Type Description
System.Boolean

single

Float parameter.
浮點數參數。

Declaration
public float single
Field Value
Type Description
System.Single

text

String parameter.
字串參數。

Declaration
public string text
Field Value
Type Description
System.String

unityObjectList

Unity object parameter list.
Unity 物件參數列表。

Declaration
public List<Object> unityObjectList
Field Value
Type Description
System.Collections.Generic.List<UnityEngine.Object>
In This Article
Back to top Generated by DocFX