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