public void Dead()
 {
     // 自分が獲得したポイントをCostManager登録
     if (m_state == EState.Dead)
     {
         return;
     }
     m_state = EState.Dead;
     GetComponent <Rigidbody>().isKinematic = true;
     P_Camera.CameraDelete();
     //Destroy(gameObject);
     gameObject.SetActive(false);
 }
Exemple #2
0
 public void WinnerCameraDestroy()
 {
     destroyCamera.CameraDelete();
     Destroy(destroyCamera);
 }