private void Awake() { Instance = this; if (_parentForObjects == null) { _parentForObjects = transform; } CreatePools(_poolsOnStart); }
private void Start() { _pooling = ObjectPooling.Instance; _pooling.CreatePools(_localPool); _timer = _spawnerTimeInervals; }