using System.Collections.Generic; using UnityEngine; namespace COM3D2.MeidoPhotoStudio.Plugin { internal 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 { this.Panes.Add(pane); return pane; } public virtual void UpdatePanes() { foreach (BasePane pane in Panes) pane.UpdatePane(); } } }