SessionComponent.cs 277 B

1234567891011121314151617181920
  1. namespace ET.Client
  2. {
  3. [ComponentOf(typeof(Scene))]
  4. public class SessionComponent: Entity, IAwake, IDestroy
  5. {
  6. private EntityRef<Session> session;
  7. public Session Session
  8. {
  9. get
  10. {
  11. return this.session;
  12. }
  13. set
  14. {
  15. this.session = value;
  16. }
  17. }
  18. }
  19. }