mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
完善登录注册Demo
完善登录注册Demo
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user