Hai_'s Groupable Inspector Fields View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.30 or later
Package size
44 KB
Files
12
Views in the past week
3

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

Hai_'s Groupable Inspector Fields

by hai_25 (opens in new tab)

No ratings yet

Enhance Unity's Inspector by grouping fields into collapsible sections for clearer organization.

Price $4.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Hai_'s Groupable Inspector Fields, 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 7

Hai_'s Groupable Inspector Fields screenshot 1

Hai_'s Groupable Inspector Fields screenshot 1

About this asset

The Groupable Fields Package offers customizable organization of serialized fields in the Unity Inspector into collapsible groups, easily implemented into existing projects. Suitable for any genre, it enhances project clarity and usability.

# How to use!

  • Create an editor script and add this to the Editor tag (Line above the class)
    • [CustomEditor(typeof(NameOfYourScript), true), CanEditMultipleObjects]
      • ", true), CanEditMultipleObjects]" - This part is incredibly important!
  • Add this line to the top of the editor script:
    • using Hai.EditorUtilities;
  • Dont forget to execute the base.OnInspectorGUI() method!
    • Just like this:

public override void OnInspectorGUI()

  {

      base.OnInspectorGUI();

  }

Now for the script portion:

  • Add this line to the top of the script you were going to edit with editor script:
    • using Hai.EditorUtilities;

This will now put all of the inspector fields, into an "Ungrouped" Group.

All you need to do is to freely define your own groups!

Like this:

  • [FoldoutGroup("My Favourite Foldout", ColorPalette.Options.White)]
  • [FoldoutGroup("This is all it takes", ColorPalette.Options.Blue)]

Remember, the FoldoutGroup will automatically grab all the fields and put them into the group, untill it finds a NEW FoldoutGroup definition.

No need to define the same FoldoutGroup for every field!

From the publisher's Asset Store listing.

Technical details

Key Features of the Groupable Fields Unity Package:

  1. Collapsible Groups: Organize serialized fields into expandable and collapsible groups within the Unity Inspector using the FoldoutGroupAttribute.
  2. Easy Integration: Can be quickly and seamlessly integrated into existing Unity projects without disrupting current workflows.
  3. Extensive Customization: Offers extensive options for customizing the appearance and functionality of the grouped fields, including the ability to define custom colors for group headers.
  4. Editor Script Enhancement: Includes a custom editor script class (GroupableFieldsEditor), allowing developers to extend the default behavior and implement custom GUI controls for grouped fields.
  5. Management of Ungrouped Fields: Automatically sorts and displays fields without a specific group under an 'Ungrouped Fields' section, ensuring no field is overlooked in the UI.
  6. UI Efficiency Tools: Provides tools to expand or collapse all groups with a single action, streamlining the management and navigation within the Inspector.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2022.3.30f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.