完善登录注册Demo

完善登录注册Demo
This commit is contained in:
ALEXTANG
2023-07-17 01:00:10 +08:00
parent 4abe10eecf
commit 9cd0bac81e
6 changed files with 113 additions and 8 deletions

View File

@@ -29,4 +29,11 @@ public class AccountInfo : Entity
/// 是否禁用账号。
/// </summary>
public bool Forbid { get; set; }
public override void Dispose()
{
Log.Debug($"UID:{this.UID}");
this.Parent?.Scene?.GetComponent<AccountComponent>()?.Remove(this);
base.Dispose();
}
}