Пример #1
0
 private void ShootHold()
 {
     _shootHolding     = true;
     _shootHoldingTime = Time.time;
     _animation.Shooting(true);
     Sfx.Charging(true);
 }
Пример #2
0
        private void ShootRelease()
        {
            if (!_shootHolding)
            {
                return;
            }

            _shootHolding = false;
            _animation.Shooting(false);
            Sfx.Charging(false);

            Shoot();
        }