UI.cs 345 B

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