using Godot; using System.Linq; public partial class CapricornLaserShot : Projectile { public override void _PhysicsProcess(double delta) { var shots = GetChildren().OfType(); shots.ElementAt(0).Translate(new Vector3(0, 0, Speed * -(float)delta)); shots.ElementAt(1).Translate(new Vector3(0, 0, Speed * (float)delta)); } }