示例#1
0
    private void OnGUI()
    {
        if (GUILayout.Button("Load"))
        {
            LevelInfoList.LoadLevelData();
        }

        if (GUILayout.Button("Save"))
        {
            LevelInfoList.SaveLevelData();
        }
    }
示例#2
0
 private void OnDestroy()
 {
     m_levelInfoList.SaveLevelData();
 }