Esempio n. 1
0
        public static ResLoader Allocate(string name = null, IResLoaderStrategy strategy = null)
        {
            ResLoader loader = ObjectPool <ResLoader> .S.Allocate();

            loader.m_LoaderName = name;
            s_ActiveLoaderList.Add(loader);
            loader.SetStrategy(strategy);
            return(loader);
        }