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

@@ -4,11 +4,14 @@ namespace InterfaceOff
{
public abstract class WindowBase : MonoBehaviour
{
public WindowInteractions Interactions { get; set; }
public WindowComponents Components { get; set; }
public void InstantiateWindowBase()
{
transform.position = CanvasManager.GetRandomPositionOnCanvas();
}
public virtual void OnWindowClicked() { }
}
}