Exemplo n.º 1
0
        public static void Init()
        {
            if (mIsInit)
            {
                return;
            }
            mIsInit = true;

            mObjectsList = new List <EntityObject>();
            mRecycler    = new Recycler();
        }
Exemplo n.º 2
0
        public static void Init(Transform viewRoot)
        {
            if (mIsInit)
            {
                return;
            }
            mViewRoot   = viewRoot;
            mRecycler   = new Recycler();
            mObjectsMap = new DictionaryEx <EntityObject, ViewObject>();

            mIsInit = true;
        }