コード例 #1
0
 public void DestroyProfileCopy()
 {
     if (mProfileCopy != null)
     {
         RuntimeUtility.DestroyObject(mProfileCopy);
     }
     mProfileCopy = null;
 }
コード例 #2
0
 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;
        }