public void Throw() { if (!_takeObject.IsObjectTaken) { if (_grenades.Count != 0) { var grenade = _grenades.Get(); grenade.Transform.gameObject.SetActive(true); SetPosition(grenade); ThrowGrenade(grenade); _addedGrenades.Add(grenade); _timers.Add(new UpTimer(0, grenade.Duration)); } } }
public void Throw() { _bonus = _bonusThrowPull.Get(); _isBonusFlying = true; }
public void Set() { SetPosition(_minePull.Get()); }