Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.MovementVariable Class Reference

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...
 

Detailed Description

Data for a movement variable

Constructor & Destructor Documentation

◆ MovementVariable() [1/9]

PlatformerPro.MovementVariable.MovementVariable ( )

Initializes a new instance of the PlatformerPro.MovementVariable class.

◆ MovementVariable() [2/9]

PlatformerPro.MovementVariable.MovementVariable ( float  floatValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

◆ MovementVariable() [3/9]

PlatformerPro.MovementVariable.MovementVariable ( bool  boolValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

◆ MovementVariable() [4/9]

PlatformerPro.MovementVariable.MovementVariable ( string  stringValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

◆ MovementVariable() [5/9]

PlatformerPro.MovementVariable.MovementVariable ( int  intValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

◆ MovementVariable() [6/9]

PlatformerPro.MovementVariable.MovementVariable ( Vector2  vector2Value)

Initializes a new instance of the PlatformerPro.MovementVariable class.

Parameters
vector2ValueVector2 value.

◆ MovementVariable() [7/9]

PlatformerPro.MovementVariable.MovementVariable ( GameObject  gameObjectValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

Parameters
gameObjectValueGameObject value.

◆ MovementVariable() [8/9]

PlatformerPro.MovementVariable.MovementVariable ( AnimationCurve  curveValue)

Initializes a new instance of the PlatformerPro.MovementVariable class.

Parameters
curveValueCurve value.

◆ MovementVariable() [9/9]

PlatformerPro.MovementVariable.MovementVariable ( MovementVariable  originalVariable)

Clone constructor. Initializes a new instance of the PlatformerPro.MovementVariable class.

Parameters
originalVariableVariable to clone values from.

Member Function Documentation

◆ Equals()

override bool PlatformerPro.MovementVariable.Equals ( object  obj)

Determines whether the specified System.Object is equal to the current PlatformerPro.MovementVariable.

Parameters
objThe System.Object to compare with the current PlatformerPro.MovementVariable.
Returns
true if the specified System.Object is equal to the current PlatformerPro.MovementVariable; otherwise, false.

◆ GetHashCode()

override int PlatformerPro.MovementVariable.GetHashCode ( )

Serves as a hash function for a PlatformerPro.MovementVariable object.

Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

Member Data Documentation

◆ boolValue

bool PlatformerPro.MovementVariable.boolValue
protected

The bool value.

◆ curveValue

AnimationCurve PlatformerPro.MovementVariable.curveValue
protected

The gcurve value.

◆ floatValue

float PlatformerPro.MovementVariable.floatValue
protected

The float value.

◆ gameObjectValue

GameObject PlatformerPro.MovementVariable.gameObjectValue
protected

The game object value.

◆ intValue

int PlatformerPro.MovementVariable.intValue
protected

The int value.

◆ stringValue

string PlatformerPro.MovementVariable.stringValue
protected

The string value.

◆ vector2Value

Vector2 PlatformerPro.MovementVariable.vector2Value
protected

The vector2 value.

Property Documentation

◆ BoolValue

bool PlatformerPro.MovementVariable.BoolValue
getset

Gets or sets the bool value.

◆ CurveValue

AnimationCurve PlatformerPro.MovementVariable.CurveValue
getset

Gets or sets the curve value

◆ FloatValue

float PlatformerPro.MovementVariable.FloatValue
getset

Gets or sets the float value.

◆ GameObjectValue

GameObject PlatformerPro.MovementVariable.GameObjectValue
getset

Gets or sets the GameObject value

◆ IntValue

int PlatformerPro.MovementVariable.IntValue
getset

Gets or sets the int value.

◆ StringValue

string PlatformerPro.MovementVariable.StringValue
getset

Gets or sets the string value.

◆ Vector2Value

Vector2 PlatformerPro.MovementVariable.Vector2Value
getset

Gets or sets the vector2 value.


The documentation for this class was generated from the following file: