mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-08 05:49:08 +00:00
提交新概念 Tile从服务器
This commit is contained in:
@@ -58,6 +58,7 @@ namespace JNGame.Sync.Entity
|
||||
{
|
||||
_id = GetSystem<JNRandomSystem>().NextId();
|
||||
}
|
||||
Context.AddEntity(Id,this);
|
||||
}
|
||||
|
||||
public abstract JNEntityLookup NewCLookup();
|
||||
@@ -126,6 +127,7 @@ namespace JNGame.Sync.Entity
|
||||
|
||||
public override void Destroy()
|
||||
{
|
||||
Context.RemoveEntity(Id);
|
||||
OnSyncDestroy();
|
||||
RemoveAllComponents();
|
||||
base.Destroy();
|
||||
|
||||
Reference in New Issue
Block a user