예제 #1
0
        public void ResultPanelOKButtonClick(int id)
        {
            string a = DataCollection.GetInstance().GetPlayerData();

            m_eventHandlerGameClass.EventUploadData(a);
            // DataCollection.GetInstance().SavePlayerData();
            DataCollection.GetInstance().SaveMapData(PlayingData.GetInstance().m_mapData);
            SceneManager.LoadScene(id);
        }
예제 #2
0
 public void ShowResultPanel()
 {
     m_resultPanel.SetActive(true);
     m_results[0].text = m_timer.ToString("0.00") + "s";
     m_results[1].text = PlayingData.GetInstance().GetResultBy("PathNodeMoveLeft");
     m_results[2].text = PlayingData.GetInstance().GetResultBy("PathNodeMoveRight");
     m_results[3].text = PlayingData.GetInstance().GetResultBy("PathNodeMoveUp");
     m_results[4].text = PlayingData.GetInstance().GetResultBy("PathNodeMoveDown");
     m_results[5].text = PlayingData.GetInstance().GetResultBy("PathNodeRotateLeft");
     m_results[6].text = PlayingData.GetInstance().GetResultBy("PathNodeRotateRight");
     m_results[7].text = PlayingData.GetInstance().GetResultBy("PathNodeSeaweed");
     m_results[8].text = PlayingData.GetInstance().GetResultBy("PathNodeSpeedup");
 }