|
@@ -534,12 +534,12 @@ namespace ET
|
|
|
|
|
|
|
|
base.Dispose();
|
|
base.Dispose();
|
|
|
|
|
|
|
|
- status = EntityStatus.None;
|
|
|
|
|
-
|
|
|
|
|
if (this.IsFromPool)
|
|
if (this.IsFromPool)
|
|
|
{
|
|
{
|
|
|
ObjectPool.Instance.Recycle(this);
|
|
ObjectPool.Instance.Recycle(this);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ status = EntityStatus.None;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void AddToComponents(Entity component)
|
|
private void AddToComponents(Entity component)
|