Ejemplo n.º 1
0
 private void DisableService(SignalSpawnProjectile projectile)
 {
     if (projectile.projectileInfo.isPlayer)
     {
         _playerService.CanShoot = false;
         _npcService.NPCShoot();
     }
     else
     {
         _playerService.CanShoot = true;
     }
 }
Ejemplo n.º 2
0
 private void SetProjectileToFollow(SignalSpawnProjectile spawnProjectileSignal)
 {
     projectileToFollow = spawnProjectileSignal.projectileInfo.projectileObject;
     FollowProjectile();
 }