protected virtual void OnTriggerEnter(Collider collider) { if (m_colliderProcessor != null) { m_colliderProcessor.OnTriggerEnter(collider); } }
private void OnTriggerEnter(Collider collider) { if (colliderProcessor != null) { colliderProcessor.OnTriggerEnter(collider); } }
private void OnTriggerEnter(Collider collider) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) if (isObjectHitDelete && (collider.get_gameObject().get_layer() == 9 || collider.get_gameObject().get_layer() == 21)) { isLandHitDelete = true; landHitPosition = Utility.ClosestPointOnCollider(collider, prevPosition); landHitRotation = _transform.get_rotation() * Quaternion.Euler(new Vector3(-90f, 0f, 0f)); _rigidbody.Sleep(); } else { if (controller != null) { if (!controller.IsHit(collider)) { return; } controller.OnHit(collider); if (controller.IsBreak(collider)) { NotifyBroken(); endBullet = null; OnDestroy(); return; } } if (colliderProcessor != null) { colliderProcessor.OnTriggerEnter(collider); } } }