mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 22:15:53 +00:00
Activable spawners
This commit is contained in:
parent
0b28127970
commit
467fb5be9d
10 changed files with 427 additions and 397 deletions
|
|
@ -62,10 +62,10 @@ public partial class ForceField3D : AnimatableBody3D, IActivable
|
|||
this.Activate();
|
||||
}
|
||||
|
||||
public void _func_godot_apply_properties(Dictionary props)
|
||||
public void _func_godot_apply_properties(Dictionary<string, Variant> props)
|
||||
{
|
||||
TargetName = (string)props["targetname"];
|
||||
StartActive = (bool)props["startenabled"];
|
||||
TargetName = props["targetname"].AsStringName();
|
||||
StartActive = props["startenabled"].AsBool();
|
||||
}
|
||||
|
||||
public override void _Ready()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue