ActionAdventureKit 1.8.0
|
behaviour that triggers an event when it receives trigger enter messages
which event is triggered can be keyed to an ImpactArea
used in the demos to display different sparks and sounds when weapons hit the environment
Classes | |
class | ImpactOption |
Public Attributes | |
Transform | Point |
Vector3 | Offset |
bool | SendOnce = true |
bool | RequireArea |
bool | ImpactTriggers |
Transform | Parent |
Transform | Prefab |
UnityEvent< Vector3 > | Hit |
ImpactOption[] | Options |
Protected Member Functions | |
virtual void | OnTriggerEnter2D (Collider2D collider) |
virtual void | OnTriggerEnter (Collider collider) |
virtual Vector3 | getPosition () |
virtual bool | check (Component component, out ImpactArea area) |
virtual void | impact (ImpactArea area, Vector3 position) |