![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Data for a movement variable More...
Public Member Functions | |
MovementVariable () | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (float floatValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (bool boolValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (string stringValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (int intValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (Vector2 vector2Value) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (GameObject gameObjectValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (AnimationCurve curveValue) | |
Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
MovementVariable (MovementVariable originalVariable) | |
Clone constructor. Initializes a new instance of the PlatformerPro.MovementVariable class. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current PlatformerPro.MovementVariable. More... | |
override int | GetHashCode () |
Serves as a hash function for a PlatformerPro.MovementVariable object. More... | |
Protected Attributes | |
float | floatValue |
The float value. More... | |
int | intValue |
The int value. More... | |
string | stringValue |
The string value. More... | |
bool | boolValue |
The bool value. More... | |
Vector2 | vector2Value |
The vector2 value. More... | |
GameObject | gameObjectValue |
The game object value. More... | |
AnimationCurve | curveValue |
The gcurve value. More... | |
Properties | |
float | FloatValue [get, set] |
Gets or sets the float value. More... | |
int | IntValue [get, set] |
Gets or sets the int value. More... | |
string | StringValue [get, set] |
Gets or sets the string value. More... | |
bool | BoolValue [get, set] |
Gets or sets the bool value. More... | |
Vector2 | Vector2Value [get, set] |
Gets or sets the vector2 value. More... | |
GameObject | GameObjectValue [get, set] |
Gets or sets the GameObject value More... | |
AnimationCurve | CurveValue [get, set] |
Gets or sets the curve value More... | |
Data for a movement variable
PlatformerPro.MovementVariable.MovementVariable | ( | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
PlatformerPro.MovementVariable.MovementVariable | ( | float | floatValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
PlatformerPro.MovementVariable.MovementVariable | ( | bool | boolValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
PlatformerPro.MovementVariable.MovementVariable | ( | string | stringValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
PlatformerPro.MovementVariable.MovementVariable | ( | int | intValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
PlatformerPro.MovementVariable.MovementVariable | ( | Vector2 | vector2Value | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
vector2Value | Vector2 value. |
PlatformerPro.MovementVariable.MovementVariable | ( | GameObject | gameObjectValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
gameObjectValue | GameObject value. |
PlatformerPro.MovementVariable.MovementVariable | ( | AnimationCurve | curveValue | ) |
Initializes a new instance of the PlatformerPro.MovementVariable class.
curveValue | Curve value. |
PlatformerPro.MovementVariable.MovementVariable | ( | MovementVariable | originalVariable | ) |
Clone constructor. Initializes a new instance of the PlatformerPro.MovementVariable class.
originalVariable | Variable to clone values from. |
override bool PlatformerPro.MovementVariable.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current PlatformerPro.MovementVariable.
obj | The System.Object to compare with the current PlatformerPro.MovementVariable. |
true
if the specified System.Object is equal to the current PlatformerPro.MovementVariable; otherwise, false
.override int PlatformerPro.MovementVariable.GetHashCode | ( | ) |
Serves as a hash function for a PlatformerPro.MovementVariable object.
|
protected |
The bool value.
|
protected |
The gcurve value.
|
protected |
The float value.
|
protected |
The game object value.
|
protected |
The int value.
|
protected |
The string value.
|
protected |
The vector2 value.
|
getset |
Gets or sets the bool value.
|
getset |
Gets or sets the curve value
|
getset |
Gets or sets the float value.
|
getset |
Gets or sets the GameObject value
|
getset |
Gets or sets the int value.
|
getset |
Gets or sets the string value.
|
getset |
Gets or sets the vector2 value.