ActionAdventureKit 1.5.4
|
event args like class that gets passed through all the participants when damage occurs
-PreDamage ist sent to sender and receiver, they can cancel damage at this stage by returning false
-OnDamage is sent to sender, receiver and the DamageKind for every damage parameter on the sender
-PostDamage is send to sender and receiver
Static Public Member Functions | |
static void | Send (IDamageSender sender, IDamageReceiver receiver) |
main method for creating damage events | |
Properties | |
IDamageSender | Sender [get, set] |
IDamageReceiver | Receiver [get, set] |
DamageKind | Kind [get, set] |
Object | Tag [get, set] |
float | Value [get, set] |
Vector3 | Vector [get, set] |
|
inlinestatic |
main method for creating damage events
sender | |
receiver |