예제 #1
0
        private void RaiseCollisionEvent(EnterStatus status, Collision collision)
        {
            var handler = CollisionEvent;

            if (handler == null)
            {
                return;
            }
            handler(VCICollisionTrigger.Create(this, status, collision));
        }
예제 #2
0
        private void RaiseTrigger(EnterStatus status, Collider collider)
        {
            var handler = TriggerEvent;

            if (handler == null)
            {
                return;
            }
            handler(VCICollisionTrigger.Create(this, status, collider));
        }