Co-authored-by: fangj <fangjinxx@qq.com>
@@ -534,12 +534,12 @@ namespace ET
base.Dispose();
- status = EntityStatus.None;
-
if (this.IsFromPool)
{
ObjectPool.Instance.Recycle(this);
}
+
+ status = EntityStatus.None;
private void AddToComponents(Entity component)