entity field rework, now it is fuzzy and good 👍
This commit is contained in:
parent
5a6eb151ae
commit
e316fa3203
6 changed files with 35 additions and 33 deletions
|
|
@ -20,7 +20,7 @@ public partial class RuntimePlantData : Entity
|
|||
}
|
||||
public override void Kill()
|
||||
{
|
||||
PoolContainer.Instance.EntityField[Resource.Layer].Remove(GlobalPosition);
|
||||
PoolContainer.Instance.RemoveEntity(GlobalPosition, Resource.Layer);
|
||||
QueueFree();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue