Пример #1
0
 void Awake()
 {
     Instance = this;
 }
Пример #2
0
 public ObjectPool(IGameObjectCreator creator)
 {
     this.creator     = creator;
     this.PoolEnabled = true;
 }