Exemple #1
0
 /// <summary>
 /// Draws property using additional <see cref="PropertyDrawer"/>s and <see cref="Drawers.ToolboxAttributeDrawer"/>s.
 /// Uses built-in layouting system.
 /// </summary>
 public static void DrawToolboxProperty(SerializedProperty property, GUIContent label)
 {
     ToolboxDrawerModule.GetPropertyHandler(property)?.OnGuiLayout(label);
 }
Exemple #2
0
 /// <summary>
 /// Draws property using additional <see cref="PropertyDrawer"/>s and <see cref="Drawers.ToolboxAttributeDrawer"/>s.
 /// Uses built-in layouting system.
 /// </summary>
 public static void DrawToolboxProperty(SerializedProperty property)
 {
     ToolboxDrawerModule.GetPropertyHandler(property)?.OnGuiLayout();
 }