Unity-Editor-Toolbox
Markup-Attributes
Our great sponsors
Unity-Editor-Toolbox | Markup-Attributes | |
---|---|---|
2 | 3 | |
1,551 | 275 | |
- | - | |
8.1 | 0.0 | |
24 days ago | almost 2 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Unity-Editor-Toolbox
-
Is there a way to replicate this style of foldout/drawer in our own custom editor scripts?
You may wanna check out this project: https://github.com/arimger/Unity-Editor-Toolbox it makes creating custom hierarchy UIs rather simple from the looks of it, but I haven't tried it so can't really say for sure.
-
Is Odin still worth it?
Unity Editor Toolbox - Has a large number of attributes that I think mostly are styled well to fit in with the default editor look. It also supports material editors. It has some other extensions too. I have not personally used it, but it looks pretty good quality.
Markup-Attributes
-
I have a massive list of variables in the inspector that keeps clogging my script, making it super tedious to work on. Is their any way I could group them all together in a folder and just close and open the folder in the inspector? Like a more advanced Header for groups of variables?
Unfortunately, attributes can only annotate members or types, not scopes. NaughtyAttributes, as suggested below, is excellent, but I find MarkupAttributes to be even more elegant -- just one attribute is needed for a foldout group, as opposed to the same attribute on every field.
-
Is Odin still worth it?
Markup Attributes - Does layout and grouping of fields using attributes. I find it's styling to be the most inline with native Unity, and most likely what I will be in my next project. It also supports material editors. Overall it is quite light weight, and good quality.
-
I made an open source plugin for controlling editor layout with attributes. It works in C# and in ShaderLab. Link in the comments.
Here is the link: https://github.com/gasgiant/MarkupAttributes
What are some alternatives?
NaughtyAttributes - Attribute Extensions for Unity
Unity-game-hacking - A guide for hacking unity games
Unity-SerializeReferenceExtensions - Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
Unity-SerializableDictionary - Serializable dictionary class for Unity
Serially - Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
pb_Stl - STL import/export for Unity, supporting both ASCII and Binary.
Bewildered-Core - Common use data types, and utilities for Unity that are high-quality and feel like a native part of Unity
resharper-unity - Unity support for both ReSharper and Rider
UnitySerializedDictionary - Serialized and drawed in editor Dictionary