using UnityEngine; namespace XGame.Framework.UI { /// /// UI树接口 /// public interface IUITree { Camera Camera { get; } Canvas GetCanvas(UILayer layer); void AddPanel(IUIPanel panel); void RemovePanel(IUIPanel panel); void SetAsLastSibling(IUIPanel panel); } }