/// <summary> /// Removes the entity with the specified id. /// </summary> /// <param name="id"> </param> /// <param name="forceRemoveNow"> </param> public static void Remove(EntityId id, bool forceRemoveNow = false) { #if !(RELEASE && RELEASE_DISABLE_CHECKS) if (id == 0) { throw new ArgumentException("entityId cannot be 0!"); } #endif EntityInterop.RemoveEntity(id, forceRemoveNow); }