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