摘要: using UnityEngine; using System.Collections.Generic; using System.Collections; /// <summary> /// This script makes it possible for a scroll view to wr 阅读全文
posted @ 2015-11-28 02:05 bambom 阅读(468) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class MyStrech : MonoBehaviour { /// /// 默认对齐方式 /// public Agin agin = Agin.Center; ... 阅读全文
posted @ 2015-11-28 02:02 bambom 阅读(160) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;/// /// 游戏全局设置管理类/// public class GlobalMngr{ /// 最大尝试量 private int max_try_count = 20; /// 暂停时间 ... 阅读全文
posted @ 2015-11-28 01:58 bambom 阅读(226) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Collections.Generic;using System;internal class AudioMngr {private static AudioMngr _this = ne... 阅读全文
posted @ 2015-11-28 01:56 bambom 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 对数据的读取using UnityEngine;using System.Collections;using System.Collections.Generic;using System;internal class DataMngr{ #region 数据定义 private sta... 阅读全文
posted @ 2015-11-28 01:52 bambom 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 表的数据结构 using UnityEngine;using System.Collections;using System.Collections.Generic;public class CharTable : DataTable{ /// 编号索引 private Dictio... 阅读全文
posted @ 2015-11-28 01:47 bambom 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 索引,文本名字_龙飞阵,龙飞阵名字_天覆阵,天覆阵名字_地载阵,地载阵名字_云垂阵,云垂阵名字_风扬阵,风扬阵名字_暴怒阵,暴怒阵对于一堆这样的配置文件 ,如何对它进行解析呢?程序的结构和表结构息息相关,这里的各个表间的衔接通过一个表索引链接起来,程序的设计也是从这里开始;DataTable所有表结... 阅读全文
posted @ 2015-11-28 01:44 bambom 阅读(380) 评论(0) 推荐(0) 编辑