Added a way to kill children
This commit is contained in:
@@ -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() { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user