using UnityEngine;

namespace XGame.Framework.UI
{
    /// <summary>
    /// UI嵌套预制的接口
    /// </summary>
    public interface IUINested
    {
        Transform Tr {  get; }
        /// <summary>
        /// GO自身节点是否显示
        /// </summary>
        bool IsActiveSelf { get; }
        /// <summary>
        /// GO在场景中是否显示
        /// </summary>
        bool IsActiveInHierarchy { get; }
        void SetActive(bool isActive);
    }
}
