enemy grant hit ability + prep projectiles
This commit is contained in:
@@ -34,12 +34,12 @@ public partial class Spawner : Node3D
|
||||
|
||||
if (EnemyToSpawn.Instantiate() is not Enemy spawnedInstance) return;
|
||||
spawnedInstance.RequestReady();
|
||||
GetTree().GetCurrentScene().AddChild(spawnedInstance);
|
||||
spawnedInstance.GlobalPosition = GlobalPosition;
|
||||
|
||||
spawnedInstance.Target = Target;
|
||||
spawnedInstance.RMovement = MovementInputs;
|
||||
spawnedInstance.Init();
|
||||
|
||||
GetTree().GetCurrentScene().AddChild(spawnedInstance);
|
||||
spawnedInstance.GlobalPosition = GlobalPosition;
|
||||
}
|
||||
|
||||
public void StartSpawning()
|
||||
|
||||
Reference in New Issue
Block a user