Метод | Описание | |
---|---|---|
AtTarget ( ) : bool |
Determines if the tfloat is at the target value.
|
|
GoTo ( float target ) : void |
Goes to the specified target in exactly 1 second.
|
|
GoTo ( float target, float duration ) : void |
Goes to the specified target in the specified amount of time.
|
|
GoTo ( float target, float duration, bool useRealTime ) : void |
Goes to the specified target in the specified amount of time.
|
|
SetValue ( float value ) : void |
Forces the value to be at the specified value.
|
|
Update ( ) : void |
Updates this instance. This must be called every cycle or else the tfloat will not transition as expected.
|
|
tfloat ( float value ) : System |
Initializes a new instance of the tfloat class.
|
public GoTo ( float target ) : void | ||
target | float | The target to change the tfloat to. |
Результат | void |
public GoTo ( float target, float duration ) : void | ||
target | float | The target to change this tfloat to. |
duration | float | The amount of time, in seconds, to take in transitioning. |
Результат | void |
public GoTo ( float target, float duration, bool useRealTime ) : void | ||
target | float | The target to change this tfloat to. |
duration | float | The amount of time, in seconds, to take in transitioning. |
useRealTime | bool | if set to |
Результат | void |
public SetValue ( float value ) : void | ||
value | float | The value. |
Результат | void |
public tfloat ( float value ) : System | ||
value | float | The value. |
Результат | System |