public RemoveEntity ( FSO.SimAntics.VMEntity entity ) : void | ||
entity | FSO.SimAntics.VMEntity | The entity to remove. |
Résultat | void |
public void RemoveObjectInstance(VMEntity target) { target.PrePositionChange(this); if (!target.GhostImage) { VM.RemoveEntity(target); } if (UseWorld) { if (target is VMGameObject) { Blueprint.RemoveObject((ObjectComponent)target.WorldUI); } else { Blueprint.RemoveAvatar((AvatarComponent)target.WorldUI); } } }