Unity Editor Toolbox by arimger - 1

ToolsExtensions

Tools, custom attributes, drawers and extensions for Unity Editor.

Unity 2018.4.2f1MIT LicenseUpdated 1 day agoCreated on August 11th, 2019
Go to source

Unity Editor Toolbox

Introduction

TODO

System Requirements

Unity 2018.x or newer

Table Of Contents

Attributes

Standard Property Drawers

Editor Toolbox/Scripts/Attributes/
Editor Toolbox/Editor/Drawers/

HelpAttribute

inspector

TagSelectorAttribute

inspector

SeparatorAttribute

inspector

ProgressBarAttribute

inspector inspector

NewLabelAttribute

inspector

MinMaxSliderAttribute

inspector

IndentAttribute

inspector

ConditionalFieldAttribute

inspector inspector

AssetPreviewAttribute

inspector

HideLabelAttribute

inspector

SuffixAttribute

inspector

TypeConstraintAttribute

inspector

ReadOnlyFieldAttribute

inspector

BoxedHeaderAttribute

inspector

BoxedToggleAttribute

inspector

EnumFlagAttribute

Ordered Property Drawers

Editor Toolbox/Scripts/Attributes/OrderedAttributes
Editor Toolbox/Editor/Drawers/OrderedDrawers

inspector

GroupAttribute

[Group("Group1")]
public int var1;
[Group("Group1")]
public int var2;
public int var3;
[Group("Group1")]
public int var4;

inspector

ReorderableListAttribute

[ReorderableList(ListStyle.Round)]
public List<string> standardStyleList;

inspector

DrawIfAttribute

Same like standard PropertyDrawer for ConditionalFieldAttribute but works with Enum types and arrays/lists.

ReadOnlyAttribute

Same like standard PropertyDrawer for ReadOnlyFieldAttribute but works with arrays and lists.

[ReadOnly]
public int[] vars1 = new [] { 1, 2, 3, 4 };

inspector

Reorderable List

Editor Toolbox/Editor/Internal/ReorderableList.cs

Custom implementation of standard ReorderableList(UnityEditorInternal). Useable as attribute in inspector fields or single object in custom editors.

[ReorderableList(ListStyle.Lined, "Item")]
public List<int> linedStyleList;

inspector

[ReorderableList(ListStyle.Round)]
public List<string> standardStyleList;

inspector

[ReorderableList(ListStyle.Boxed, fixedSize: true)]
public GameObject[] boxedStyleList = new GameObject[4];

inspector

Tools and Editors

Terrain Editor

inspector

Hierarchy Editor

inspector

Construction Editor

TODO

Field of View Generator

inspector

Grid Generator

inspector

Show all projects by arimger