Exemple #1
0
        /// <summary>
        /// 设置对象池管理器。
        /// </summary>
        /// <param name="objectPoolManager">对象池管理器。</param>
        public void SetObjectPoolManager(IObjectPoolManager objectPoolManager)
        {
            if (objectPoolManager == null)
            {
                throw new GameFrameworkException("Object pool manager is invalid.");
            }

            m_ResourceLoader.SetObjectPoolManager(objectPoolManager);
        }
Exemple #2
0
 public void SetObjectPoolManager(IObjectPoolManager objectPoolManager)
 {
     m_ResourceLoader.SetObjectPoolManager(objectPoolManager);
 }