|
|
@@ -42,6 +42,11 @@ namespace Svelto.ECS |
|
|
|
_weakReference.Target.SwapEntityGroup(entityID, fromGroupID, toGroupID); |
|
|
|
} |
|
|
|
|
|
|
|
public void SwapEntityGroup(EGID id, int toGroupID = ExclusiveGroups.StandardEntity) |
|
|
|
{ |
|
|
|
_weakReference.Target.SwapEntityGroup(id.entityID, id.groupID, toGroupID); |
|
|
|
} |
|
|
|
|
|
|
|
public void SwapEntityGroup(int entityID, int toGroupID) |
|
|
|
{ |
|
|
|
_weakReference.Target.SwapEntityGroup(entityID, ExclusiveGroups.StandardEntity, toGroupID); |
|
|
|