Beispiel #1
0
        public static void Init()
        {
            if (m_isInit)
            {
                return;
            }
            m_isInit = true;

            m_listObject = new List <EntityObject>();
            m_recycler   = new Recycler();
        }
        public static void Init(Transform viewRoot)
        {
            if (m_isInit)
            {
                return;
            }
            m_isInit = true;

            m_viewRoot = viewRoot;

            m_mapObject = new DictionaryEx <EntityObject, ViewObject>();
            m_recycler  = new Recycler();
        }