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

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