public void Update() { lifeTime += Time.deltaTime; if (lifeTime > maxLifeTime) { EndLife(); } _baseMoveStrategy.PerformMove(transform, BulletSpeed); }
private void Update() { _baseMoveStrategy.PerformMove(transform, moveSpeed); }
public void Update() { lifeTime += Time.deltaTime; if (lifeTime > maxLifeTime) { EndLife(); } _baseMoveStrategy.PerformMove(transform, BulletSpeed); }
private void Update() { _baseMoveStrategy.PerformMove(transform, moveSpeed); }