IUINested.cs 483 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. namespace XGame.Framework.UI
  3. {
  4. /// <summary>
  5. /// UI嵌套预制的接口
  6. /// </summary>
  7. public interface IUINested
  8. {
  9. Transform Tr { get; }
  10. /// <summary>
  11. /// GO自身节点是否显示
  12. /// </summary>
  13. bool IsActiveSelf { get; }
  14. /// <summary>
  15. /// GO在场景中是否显示
  16. /// </summary>
  17. bool IsActiveInHierarchy { get; }
  18. void SetActive(bool isActive);
  19. }
  20. }