| 123456789101112131415161718192021222324252627282930313233 |
- using UnityEngine;
- namespace Model
- {
- public sealed class UI: Entity
- {
- public Entity Scene { get; set; }
- public UIType UIType { get; set; }
- public string Name { get; set; }
- public GameObject GameObject { get; set; }
-
- public override void Dispose()
- {
- if (this.Id == 0)
- {
- return;
- }
- base.Dispose();
- }
- public UI(): base(EntityType.UI)
- {
- }
- public UI(long id): base(id, EntityType.UI)
- {
- }
- }
- }
|