Refactored code
This commit is contained in:
parent
83c0dc1bc3
commit
c18c7f4db7
13 changed files with 136 additions and 58 deletions
13
addons/pvzadventure/scripts/EditorsContainer.cs
Normal file
13
addons/pvzadventure/scripts/EditorsContainer.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Godot;
|
||||
|
||||
[Tool]
|
||||
public partial class EditorsContainer : PanelContainer
|
||||
{
|
||||
public void ClearChildren()
|
||||
{
|
||||
foreach (var child in GetChildren())
|
||||
{
|
||||
child.QueueFree();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue