コード例 #1
0
 void BreakRecordCheck()
 {
     m_timeInfo = m_json.LoadFromJson <TimeInfo> ();
     if (m_timeInfo.clearTimes [stageNum].bestTime > clearRecord)
     {
         m_timeInfo.clearTimes [stageNum].bestTime = clearRecord;
         m_timeInfo.clearTimes [stageNum].viewTime = viewTime;
         m_timeInfo.SaveToJson(ref m_json);
     }
 }