示例#1
0
 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);
 }
示例#2
0
 private void Awake()
 {
     managerPool.AddPool(PoolType.Bullet);
 }
示例#3
0
 private void Awake()
 {
     InitializationSingleton();
     managerPool.AddPool(PoolType.Entities);
 }
    private void Start()
    {
        managerPool.AddPool(PoolType.Entities);

        Spawn();
    }
示例#5
0
 void Awake()
 {
     managerPool.AddPool(PoolType.Entities);
 }