12345678910111213141516171819202122 |
- namespace ET.Server
- {
- [FriendOf(typeof (PlayerDataComponent))]
- public static class PlayerDataComponentSystem
- {
- public class PlayerDataComponentaAwakeSystem: AwakeSystem<PlayerDataComponent, PlayerInfo>
- {
- protected override void Awake(PlayerDataComponent self, PlayerInfo info)
- {
- Log.Info($"创建玩家基础数据组件...");
- self.Data = info;
- }
- }
- public class PlayerDataComponentDestroySystem: DestroySystem<PlayerDataComponent>
- {
- protected override void Destroy(PlayerDataComponent self)
- {
- }
- }
- }
- }
|