Struct TriggerEvent
A Trigger event is fired when two colliders collide. At least one of the colliders must be marked as a trigger collider.
Namespace: Motphys.Rigidbody
Assembly: solution.dll
Syntax
public struct TriggerEvent
Properties
collider1
Declaration
public BaseCollider collider1 { get; }
Property Value
Type | Description |
---|---|
BaseCollider | The first collider involved in the trigger event. |
collider2
Declaration
public BaseCollider collider2 { get; }
Property Value
Type | Description |
---|---|
BaseCollider | The second collider involved in the trigger event. |