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