using Fantasy.Entitas.Interface; namespace Hotfix; public class AccountSystem { } public class AccountAwakeSystem : AwakeSystem { protected override void Awake(Account self) { self.CreateTime = 0; self.LoginTime = 0; self.Username = string.Empty; self.Password = string.Empty; } } public class AccountDestroySystem : DestroySystem { protected override void Destroy(Account self) { self.CreateTime = 0; self.LoginTime = 0; self.Username = string.Empty; self.Password = string.Empty; } }