void ReadyDeathEffect() { health_ = 0; darkChange_ = new DarkChange(displayImage_, 1.0f); audioBGM_.Stop(); GetComponent <PlayerMovement> ().enabled = false; GetComponent <PlayerAnchor> ().enabled = false; // 武器を使えなくする GameObject[] weapons = GameObject.FindGameObjectsWithTag("Weapon"); for (int i = 0; i < weapons.Length; i++) { weapons [i].SetActive(false); } }
public void Push() { isPushed_ = true; darkChange_ = new DarkChange(displayImage_, darckChangeSpeed_); }
public void Push() { isPushed_ = true; darkChange_ = new DarkChange(displayImage_, 0.5f); }