示例#1
0
 /// <summary>
 /// Disables the textures menu
 /// </summary>
 public void DisablePlacementTextures()
 {
     if (MenuPlacement != null)
     {
         MenuPlacementSection menuPlacement = MenuPlacement as MenuPlacementSection;
         menuPlacement.SetEnable(false);
     }
 }
示例#2
0
 /// <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);
     }
 }