Exemple #1
0
 void Awake()
 {
     Instance = this;
 }
Exemple #2
0
 public ObjectPool(IGameObjectCreator creator)
 {
     this.creator     = creator;
     this.PoolEnabled = true;
 }