コード例 #1
0
        protected override void Initialize()
        {
            info = Common.ContentManager.Load <LevelManagerInfo>(levelManagerInfoFilepath);

            levelFilepaths = info.Levels;

            base.Initialize();
        }
コード例 #2
0
        protected override void Initialize()
        {
            info = XmlHelper.DeserializeContent <LevelManagerInfo>(levelManagerInfoFilepath);

            for (int i = 0; i < info.LevelName.Length; i++)
            {
                levelFilepaths.Add(info.LevelName[i], info.LevelFilepaths[i]);
            }

            base.Initialize();
        }