UI.cs 392 B

123456789101112131415161718192021222324252627
  1. using Base;
  2. using UnityEngine;
  3. using Component = Base.Component;
  4. namespace Model
  5. {
  6. public sealed class UI: Component
  7. {
  8. public Entity Scene { get; set; }
  9. public UIType UIType { get; set; }
  10. public string Name { get; set; }
  11. public GameObject GameObject { get; set; }
  12. public override void Dispose()
  13. {
  14. if (this.Id == 0)
  15. {
  16. return;
  17. }
  18. base.Dispose();
  19. }
  20. }
  21. }