protected override void Clear()
    {
        base.Clear();
        _attack.Stop_Attack();
        //クリア記録の保存
        int score      = PlayerManager.Instance.Get_Score();
        int high_Score = -1;

        if (PlayerPrefs.HasKey("HIGHSCORE"))
        {
            high_Score = PlayerPrefs.GetInt("HIGHSCORE");
        }
        PlayerPrefs.SetInt("HIGHSCORE", Mathf.Max(score, high_Score));
    }
예제 #2
0
 //戦闘開始前ムービー、EternalAttackで呼ぶ
 public void Start_Last_Battle_Movie()
 {
     last_Battle_Movie.Start_Movie();
     _attack.Stop_Attack();
 }