Save on edit
This commit is contained in:
parent
19e16c62d7
commit
f7d19bbae6
10 changed files with 86 additions and 68 deletions
|
|
@ -4,6 +4,7 @@ using Godot;
|
|||
public partial class ZE_RowEditor : VBoxContainer
|
||||
{
|
||||
private PackedScene buttonScene = ResourceLoader.Load<PackedScene>("uid://segxys6udhyw");
|
||||
[Signal] public delegate void SaveCallbackEventHandler();
|
||||
public RowSpawn editedSpawn;
|
||||
public override void _Ready()
|
||||
{
|
||||
|
|
@ -21,5 +22,6 @@ public partial class ZE_RowEditor : VBoxContainer
|
|||
public void OnResourceChanged(ZombieResource resource, int index)
|
||||
{
|
||||
editedSpawn.zombies[index] = resource;
|
||||
EmitSignal(SignalName.SaveCallback);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue