private void RaiseCollisionEvent(EnterStatus status, Collision collision) { var handler = CollisionEvent; if (handler == null) { return; } handler(VCICollisionTrigger.Create(this, status, collision)); }
private void RaiseTrigger(EnterStatus status, Collider collider) { var handler = TriggerEvent; if (handler == null) { return; } handler(VCICollisionTrigger.Create(this, status, collider)); }