public void SetLocationVisibility(bool visible, MyEntity entity, MyGuitargetMode guiTargetMode) { if (visible) { MyHud.RemoveText(entity); MyHud.AddText(entity, HudNameTemp ?? NameTemp, guiTargetMode); } else { entity.UpdateHudMarker(true); } }
public void SetLocationVisibility(bool visible, MyEntity entity, MyGuitargetMode guiTargetMode) { if (visible) { MyHud.RemoveText(entity); MyHud.AddText(entity, HudNameTemp ?? NameTemp, guiTargetMode); } else { entity.UpdateHudMarker(true); } }