mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 16:25:54 +00:00
Activable spawners
This commit is contained in:
parent
0b28127970
commit
467fb5be9d
10 changed files with 427 additions and 397 deletions
|
|
@ -42,6 +42,11 @@ public partial class ScriptableBulletsEmitter3D : Destructible3D, IActivable, IS
|
|||
public override void _Ready()
|
||||
{
|
||||
if (Engine.IsEditorHint()) return;
|
||||
if (Script is null)
|
||||
{
|
||||
GD.PushWarning($"Emitter {Name} has no script assigned");
|
||||
return;
|
||||
}
|
||||
//_scriptInstance = Script.Duplicate(true) as BulletScript;
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(ActivationGroup))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue