/// <summary> /// Disables the textures menu /// </summary> public void DisablePlacementTextures() { if (MenuPlacement != null) { MenuPlacementSection menuPlacement = MenuPlacement as MenuPlacementSection; menuPlacement.SetEnable(false); } }
/// <summary> /// Sets the textures menu /// </summary> public void SetMenuPlacementTextures(int objectID) { if (MenuPlacement != null) { MenuPlacementSection menuPlacement = MenuPlacement as MenuPlacementSection; menuPlacement.SetTextures(objectID); menuPlacement.SetEnable(true); } }