static public AbstractLoader GetLoader(LoadReqType type_) { AbstractLoader loader = null; switch (type_) { case LoadReqType.QUEUE: loader = m_pool.Pop <QueueLoader>(); break; case LoadReqType.BATCH: loader = m_pool.Pop <BatchLoader>(); break; case LoadReqType.LEVEL: loader = m_pool.Pop <LevelLoader>(); break; case LoadReqType.DELAY: loader = m_pool.Pop <DelayLoader>(); break; case LoadReqType.PROGRESS: loader = m_pool.Pop <ProgLoader>(); break; default: loader = m_pool.Pop <AssetLoader>(); break; } return(loader); }