예제 #1
0
 public void EnableEffectPool()
 {
     if (this._effectPool == null)
     {
         this._effectPool = new EffectPool();
         this._effectPool.SetInitialInstanceCount(1);
     }
 }
예제 #2
0
 public void DisableEffectPool()
 {
     if (this._effectPool != null)
     {
         this._effectPool.CleanAll(true);
         this._effectPool = null;
     }
 }