Esempio n. 1
0
        /// <summary>
        /// 更新显示数据
        /// </summary>
        void DoValueChange()
        {
            var currentSelected = getCurrentSelectMapPreview();

            SetIntroductionImage(currentSelected.JsonModel.ImageName);
            SetIntroductionText(currentSelected.JsonModel.Description);
            MainGameCurrent.LoadMap(currentSelected.JsonModel);
        }
Esempio n. 2
0
 private void Awake()
 {
     // 为editor加载地图
     MainGameCurrent.LoadMap();
     GenerateBlockContainer();
 }