Summary
Encapsulates a variable so it can be serialized for
UltEvents.UltEventBase
.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["PersistentArgument"]
class Type type-node
Syntax
[Serializable]
public sealed class PersistentArgument
Attributes
Type | Description |
---|---|
Serializable |
Constructors
Name | Summary |
---|---|
PersistentArgument |
Constructs a new UltEvents.PersistentArgument with default values. |
PersistentArgument |
Constructs a new UltEvents.PersistentArgument with the specified `type`. |
Properties
Name | Value | Summary |
---|---|---|
Bool | bool |
The
bool value of this argument. |
Color | Color |
The
UnityEngine.Color value of this argument. |
Color32 | Color32 |
The
UnityEngine.Color32 value of this argument. |
Enum | Object |
The
System.Enum value of this argument. |
Float | float |
The
float value of this argument. |
Int | int |
The
int value of this argument. |
Object | UnityEngine |
The
UnityEngine.Object value of this argument. |
Parameter | Object |
The value of a parameter passed into the
UltEvents.PersistentCall (see UltEvents.PersistentArgument.ParameterIndex . |
ParameterIndex | int |
The index of the parameter passed into the
UltEvents.PersistentCall . |
Quaternion | Quaternion |
The
UnityEngine.Quaternion value of this argument. |
Rect | Rect |
The
UnityEngine.Rect value of this argument. |
ReturnedValue | Object |
The value returned by a previous
UltEvents.PersistentCall (see UltEvents.PersistentArgument.ReturnedValueIndex . |
ReturnedValueIndex | int |
The index of the
UltEvents.PersistentCall which returns the value for this argument. |
String | string |
The
string value of this argument. |
SystemType | Type |
The
System.Type of this argument. |
TryGetLinkable | PersistentArgument |
[Editor-Only] A delegate type for accessing linkable values from the Inspector.
static
|
Type | Persistent |
The type identifier of this argument.
|
Value | Object |
The value of this argument.
|
Vector2 | Vector2 |
The
UnityEngine.Vector2 value of this argument. |
Vector3 | Vector3 |
The
UnityEngine.Vector3 value of this argument. |
Vector4 | Vector4 |
The
UnityEngine.Vector4 value of this argument. |
Methods
Name | Value | Summary |
---|---|---|
Clone |
PersistentArgument |
Creates an exact copy of this argument.
|
GetArgumentType |
Type |
Returns the
System.Type associated with the specified UltEvents.PersistentArgumentType .
If the `type` can be inherited (such as an Enum or Object),
the `assemblyQualifiedName` will be used to get the type.
static
|
GetArgumentType |
Persistent |
Returns the
UltEvents.PersistentArgumentType associated with the specified System.Type .
If the `type` can be inherited (such as an Enum or Object),
the `assemblyQualifiedName` will be assigned as well (otherwise null).
static
|
ToString |
string |
Returns a string which describes this argument.
|