Exemplo n.º 1
0
    public void NameOverwrite()
    {
        // 最新のword_PFBに更新
        cnmScript = gNameManagerObj.GetComponent <CNameManager>();

        if (cnmScript.GetbIsEnd() && !bDispName)
        {
            Load();

            if (CSceneManager.GetRecently() == "ResultScene")
            {
                //OverwritePlayer.score = CScore.GetScore();
                //Debug.Log(OverwritePlayer.score);

                OverwritePlayer.name = cnmScript.GetName();
                Debug.Log(OverwritePlayer.name[0]);
                Debug.Log(OverwritePlayer.name[1]);
                Debug.Log(OverwritePlayer.name[2]);
            }

            OverwriteRecord();

            SaveScore();

            bDispName = true;

            NameDisplay();
        }
    }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (cnmScript.GetbIsEnd())
     {
         for (int i = 0; i < 10; i++)
         {
             gRankObjects[i].SetActive(true);
             gScoreObjects[i].SetActive(true);
             gNameObject[i].SetActive(true);
         }
         for (int i = 0; i < 2; i++)
         {
             gImg_WAKU[i].SetActive(true);
             gImg_RankingFrame[i].SetActive(true);
         }
     }
 }