12345678910111213141516171819 |
- using KYFramework;
- using KYFramework.Network;
- namespace SimulationServer;
- [ObjectSystem]
- public class SessionComponentAwakeSystem : AwakeSystem<SessionComponent>
- {
- public override void Awake(SessionComponent self)
- {
- SessionComponent.Instance = self;
- }
- }
- public class SessionComponent : Component
- {
- public static SessionComponent Instance;
- public Session Session;
- }
|