Ejemplo n.º 1
0
        //private ObjDict<string> mScenes;
        //private Dictionary<string, List<string>> mGroupAsbs;

        /// <summary>
        /// 请勿直接调用构造函数,请使用 Instance 方法获取单例
        /// </summary>
        public SceneMgr()
        {
            curGroup = "common";
            mCount   = new ObjDict <int>();
            //mScenes = new ObjDict<string>();
            //mGroupAsbs = new Dictionary<string, List<string>>();
        }
Ejemplo n.º 2
0
 public GameResHandler(string group)
 {
     mDict          = new ObjDict <T>();
     mGroupsCounter = new ObjDict <int>();
     mGroupObjs     = new Dictionary <string, Dictionary <string, HashSet <string> > >();
     mList          = new List <AsbInfo>();
     mQueue         = new Queue <AsbInfo>();
     mResMgr        = ResManager.Instance;
     CurGroup       = group;
 }