private void FixedUpdate() { //IL_0018: 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_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) if (!isReleased) { if (isUpdateFixTrans) { this.get_transform().set_position(fixPos); this.get_transform().set_rotation(fixRot); } if ((colliderInfo & COLLIDER_INFO.RESERVE_RELEASE) != 0 && (colliderInfo & COLLIDER_INFO.FIXED_UPDATE) != 0) { enabledCollider = false; } if (!enabledCollider) { if (colliderProcessor != null && !colliderProcessor.IsBusy()) { colliderProcessor.OnDestroy(); colliderProcessor = null; } if (colliderProcessor == null) { colliderInfo |= COLLIDER_INFO.RELEASED; } } if (checkFixedUpdate) { colliderInfo |= COLLIDER_INFO.FIXED_UPDATE; } } }
public virtual void OnDestroy() { //IL_00e5: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Expected O, but got Unknown //IL_0172: Unknown result type (might be due to invalid IL or missing references) if (!AppMain.isApplicationQuit && !isDestroyed) { isDestroyed = true; if (_rigidbody != null) { _rigidbody.Sleep(); } if (_collider != null) { _collider.set_enabled(false); } capsuleCollider = null; if (controller != null) { controller.set_enabled(false); } if (colliderProcessor != null) { if (endBullet != null) { CreateEndBullet(); } colliderProcessor.OnDestroy(); colliderProcessor = null; } if (isLandHitDelete && !string.IsNullOrEmpty(landHitEfect)) { Transform effect = EffectManager.GetEffect(landHitEfect, null); if (effect != null) { effect.set_localPosition(landHitPosition); effect.set_localRotation(landHitRotation); } } Transform val = (!MonoBehaviourSingleton <StageObjectManager> .IsValid()) ? MonoBehaviourSingleton <EffectManager> .I._transform : MonoBehaviourSingleton <StageObjectManager> .I._transform; if (bulletEffect != null) { bulletEffect.set_parent(val); EffectManager.ReleaseEffect(bulletEffect.get_gameObject(), !m_isDisablePlayEndAnim, false); } if (MonoBehaviourSingleton <StageObjectManager> .IsValid()) { MonoBehaviourSingleton <StageObjectManager> .I.RemoveNotifyInterface(this); } NotifyDestroy(); Object.Destroy(this.get_gameObject()); } }