Ejemplo n.º 1
0
 private void LoadScoreInfo()
 {
     //score.SetScore(0);
     //scoreBest.SetScore(0);
     score.SetScore(RankInfo.GetNewRankInfo().score);
     scoreBest.SetScore(RankInfo.GetRankInfo(0).score);
 }
Ejemplo n.º 2
0
    public void InputNameOK()
    {
        int idx = RankInfo.GetNewRankInfo().rank - 1;

        bool all_blank = true;

        for (int i = 0; i < inputer.textComponent.text.Length; i++)
        {
            if (inputer.textComponent.text[i] != 0x20)
            {
                all_blank = false;
                break;
            }
        }

        if (!all_blank)
        {
            RankInfo.InputRankName(inputer.textComponent.text, idx);
        }

        checkStringByte.MakeCharacterToLimit(RankInfo.GetRankInfo(idx).name);
        RankInfo.SaveRank(idx);

        AudioManager.PlaySE(AudioManager.AudioSourceIndex.AUDIO_SOURCE_SE_TYPE_A, AudioManager.SE.SE_TITLE, 0.5f);
        inputer.gameObject.SetActive(false);
    }