public void DestroyProfileCopy() { if (mProfileCopy != null) { RuntimeUtility.DestroyObject(mProfileCopy); } mProfileCopy = null; }
private void DestroyProfileCopy() { if (Object.op_Inequality((Object)this.mProfileCopy, (Object)null)) { RuntimeUtility.DestroyObject((Object)this.mProfileCopy); } this.mProfileCopy = (PostProcessProfile)null; }
static void DestroyCollider() { if (mCameraColliderGameObject != null) { mCameraColliderGameObject.SetActive(false); RuntimeUtility.DestroyObject(mCameraColliderGameObject.GetComponent <Rigidbody>()); } RuntimeUtility.DestroyObject(mCameraCollider); RuntimeUtility.DestroyObject(mCameraColliderGameObject); mCameraColliderGameObject = null; mCameraCollider = null; }