Humanoid Control for Unity v4
|
An event handler calling a function with an integer parameter.
Public Types | |
enum | Type { Never , OnStart , OnEnd , WhileActive , WhileInactive , OnChange , Continuous } |
The different types of events when the function is called. More... | |
enum | OverrideMode { Prepend , Append , Replace } |
Public Member Functions | |
IntEventHandler (Type eventType) | |
virtual void | Update () |
Public Attributes | |
int | minValue |
int | maxValue |
int | intTriggerLow = 0 |
int | intTriggerHigh = 1 |
int | multiplicationFactor = 1 |
Type | eventType = Type.Continuous |
The event type for the function call. | |
bool | eventNetworking = false |
For future use :-) | |
FunctionCall | functionCall |
The function to call. | |
bool | boolInverse = false |
Negate the boolean state before calling event trigger. | |
OverrideMode | overrideMode |
Protected Member Functions | |
override void | UpdateVoid () |
override void | UpdateBool () |
override void | UpdateInt () |
override void | UpdateFloat () |
void | UpdateAnimationParameter () |
virtual void | UpdateString () |
virtual void | UpdateString (string s) |
virtual void | UpdateVector3 () |
virtual void | UpdateGameObject () |
virtual void | UpdateRigidbody () |
virtual void | UpdateStringBool (string s) |
virtual void | UpdateStringFloat (string s) |
virtual void | UpdateStringInt (string s) |
bool | CheckCondition (bool active, bool changed, bool valueChanged) |
Protected Attributes | |
bool | initialized |
bool | _boolValue |
bool | boolChanged = true |
int | _intValue |
bool | intChanged |
float | _floatValue |
bool | floatChanged |
Properties | |
virtual int | value [get, set] |
virtual bool | boolValue [get, set] |
bool | isDead [get] |
True when the eventHandler is dead and can be removed. | |
|
inherited |
The different types of events when the function is called.
|
inherited |
|
protectedvirtual |
Reimplemented from Passer.EventHandler.
|
protectedvirtual |
Reimplemented from Passer.EventHandler.
|
protectedvirtual |
Reimplemented from Passer.EventHandler.
|
protectedvirtual |
Reimplemented from Passer.EventHandler.
|
getinherited |
True when the eventHandler is dead and can be removed.
A function is dead when it does nothing. This is when the functionCall is not defined or when the target of the functionCall is empty