private void Start() { _pool = Toolbox.Get <ManagerPool>(); _audioSource = GetComponent <AudioSource>(); _pool.AddPool(PoolType.Entities).PopulateWith(_coin, 15); _animator = GetComponent <Animator>(); _textDissolution = new ColorDissolution <TextMeshProUGUI>(_count); }
private void Awake() { managerPool.AddPool(PoolType.Bullet); }
private void Awake() { InitializationSingleton(); managerPool.AddPool(PoolType.Entities); }
private void Start() { managerPool.AddPool(PoolType.Entities); Spawn(); }
void Awake() { managerPool.AddPool(PoolType.Entities); }