![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Defines a repsonse to an event. More...
Public Member Functions | |
EventResponse () | |
Initializes a new instance of the PlatformerPro.EventResponse class. More... | |
EventResponse (EventResponse original) | |
Initializes a new instance of the PlatformerPro.EventResponse class by cloning another instance. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current PlatformerPro.EventResponse. More... | |
override int | GetHashCode () |
Serves as a hash function for a PlatformerPro.EventResponse object. More... | |
Public Attributes | |
EventResponseType | responseType |
Type of response. More... | |
float | delay |
How long to wait before handling the action. More... | |
GameObject | targetGameObject |
The target game object. More... | |
Component | targetComponent |
The target component. More... | |
ScriptableObject | targetScriptableObject |
The target sciptable object. More... | |
string | message |
The message for send message, or the song name, or the score type. More... | |
string | overrideState |
The animation override state. More... | |
Sprite | newSprite |
The new sprite to use. More... | |
AnimationState | animationState |
The forced animation state. More... | |
int | intValue |
Generic int value attached to the response. More... | |
Vector2 | vectorValue |
Generic Vector value attached to the response. More... | |
bool | boolValue |
Generic bool value. More... | |
float | floatValue |
Generic float value attached to the response. More... | |
DamageType | damageType |
Type of damage. More... | |
Defines a repsonse to an event.
PlatformerPro.EventResponse.EventResponse | ( | ) |
Initializes a new instance of the PlatformerPro.EventResponse class.
PlatformerPro.EventResponse.EventResponse | ( | EventResponse | original | ) |
Initializes a new instance of the PlatformerPro.EventResponse class by cloning another instance.
original | Original. |
override bool PlatformerPro.EventResponse.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current PlatformerPro.EventResponse.
obj | The System.Object to compare with the current PlatformerPro.EventResponse. |
true
if the specified System.Object is equal to the current PlatformerPro.EventResponse; otherwise, false
.override int PlatformerPro.EventResponse.GetHashCode | ( | ) |
Serves as a hash function for a PlatformerPro.EventResponse object.
AnimationState PlatformerPro.EventResponse.animationState |
The forced animation state.
bool PlatformerPro.EventResponse.boolValue |
Generic bool value.
DamageType PlatformerPro.EventResponse.damageType |
Type of damage.
float PlatformerPro.EventResponse.delay |
How long to wait before handling the action.
float PlatformerPro.EventResponse.floatValue |
Generic float value attached to the response.
int PlatformerPro.EventResponse.intValue |
Generic int value attached to the response.
string PlatformerPro.EventResponse.message |
The message for send message, or the song name, or the score type.
Sprite PlatformerPro.EventResponse.newSprite |
The new sprite to use.
string PlatformerPro.EventResponse.overrideState |
The animation override state.
EventResponseType PlatformerPro.EventResponse.responseType |
Type of response.
Component PlatformerPro.EventResponse.targetComponent |
The target component.
GameObject PlatformerPro.EventResponse.targetGameObject |
The target game object.
ScriptableObject PlatformerPro.EventResponse.targetScriptableObject |
The target sciptable object.
Vector2 PlatformerPro.EventResponse.vectorValue |
Generic Vector value attached to the response.