using System.Collections.Generic; using UnityEngine; namespace MeidoPhotoStudio.Plugin { public abstract class BaseWindowPane : BasePane { protected List Panes = new List(); protected Vector2 scrollPos; public bool ActiveWindow { get; set; } public T AddPane(T pane) where T : BasePane { Panes.Add(pane); return pane; } public virtual void UpdatePanes() { foreach (BasePane pane in Panes) pane.UpdatePane(); } } }