Added a way to kill children

This commit is contained in:
Pasha Bibko
2026-01-13 10:54:09 +00:00
parent 37e4ee8273
commit eae7b615d6
6 changed files with 96 additions and 2 deletions

View File

@@ -49,6 +49,9 @@ namespace InterfaceOff
return;
}
windowBase.Interactions = go.GetComponent<WindowInteractions>();
windowBase.Interactions.SetAttachedTo(windowBase);
windowBase.Components = go.GetComponent<WindowComponents>();
windowBase.InstantiateWindowBase();
}