예제 #1
0
 private void OnCollisionStay(Collision collision) => DidCollide?.Invoke(PhysicsEventPhase.Stay, collision);
예제 #2
0
 private void OnCollisionExit(Collision collision) => DidCollide?.Invoke(PhysicsEventPhase.Exit, collision);
예제 #3
0
 private void OnCollisionEnter(Collision collision) => DidCollide?.Invoke(PhysicsEventPhase.Enter, collision);