Example #1
0
    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);
        }
    }
Example #2
0
 public void Push()
 {
     isPushed_   = true;
     darkChange_ = new DarkChange(displayImage_, darckChangeSpeed_);
 }
Example #3
0
 public void Push()
 {
     isPushed_   = true;
     darkChange_ = new DarkChange(displayImage_, 0.5f);
 }