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