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

@@ -0,0 +1,12 @@
using UnityEngine;
namespace InterfaceOff
{
public class WindowInteractions : MonoBehaviour
{
private WindowBase AttachedWindow { get; set; }
public void SetAttachedTo(WindowBase window) => AttachedWindow = window;
public void WindowClicked() => AttachedWindow.OnWindowClicked();
}
}