InspectorConstants.cs 731 B

12345678910111213141516171819202122
  1. using System;
  2. using UnityEngine;
  3. using UnityEditor;
  4. namespace DunGen.Editor
  5. {
  6. public static class InspectorConstants
  7. {
  8. public static readonly GUIContent AdapterPriorityLabel = new GUIContent("Priority", "Determines the order of execution of this adapter in relation to others (highest to lowest)");
  9. #region Layout Constants
  10. public static readonly GUILayoutOption SmallButtonWidth = GUILayout.Width(19);
  11. public static readonly GUILayoutOption SmallWidth = GUILayout.Width(10);
  12. public static readonly GUILayoutOption IntFieldWidth = GUILayout.Width(50);
  13. public static readonly GUILayoutOption LabelWidth = GUILayout.Width(120);
  14. #endregion
  15. }
  16. }