Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gydisme/Unity-HierarchyHelper
The fastest way to create Unity Hierarchy GUI items ever.
https://github.com/gydisme/Unity-HierarchyHelper
Last synced: 3 months ago
JSON representation
The fastest way to create Unity Hierarchy GUI items ever.
- Host: GitHub
- URL: https://github.com/gydisme/Unity-HierarchyHelper
- Owner: gydisme
- License: mit
- Created: 2017-05-06T21:25:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-03T08:37:11.000Z (over 4 years ago)
- Last Synced: 2024-07-13T16:53:12.175Z (4 months ago)
- Language: C#
- Size: 47.9 KB
- Stars: 64
- Watchers: 14
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - Unity-HierarchyHelper - The fastest way to create Unity Hierarchy GUI items ever (Hierarchy)
README
Unity-HierarchyHelper
=
The fastest way to create Unity Hierarchy GUI items ever.
![](http://i.imgur.com/nPJcYNG.gif)
![](https://i.imgur.com/oWhbFgi.png)
![](http://i.imgur.com/4QC5t3b.png)
![](http://i.imgur.com/cU2iwYG.png)
- Author: Gyd Tseng
- Email: [email protected]
- Twitter: @kingterrygyd
- Facebook: facebook.com/barbariangyd
- Donation:Installation
=
Download and copy the folder Assets/HierarchyHelper/ to your project.
(Optional) Download and copy the folder Assets/HierarchyHelperImplementations/ to your project.
> **_Add issues if you wanna request new implementations_**QuickStart
=
Enable Hierarchy Helper System
```
1. press Tools/HierarchyHelper/Open Setting Window to open Setting Window
2. toggle Enable Helper Sytem
```Create A GUI Function for a Component
```
1. Create a method without args, ex: public void DrawHelper( )
2. add property to the method [HelperInfoAttribute( "categroyName", priority )]
```Create A GUI Function for a non-Component
```
1. Create a static method with an arg of GameObject, ex: public static void DrawHelper( GameObject obj )
2. add property to the method [HelperInfoAttribute( "categroyName2", priority )]
```Important
```
Use HierarchyHelperManager.GetControlRect( width ) to get the correct DrawRect for your draw method.
```Examples
```
Download and copy the folder Assets/HierarchyHelperExmaples/ to your project.
```FAQ
```
1. Why my helperUIs coverd each other?
A: Use HierarchyHelperManager.GetControlRect( width ) to get the correct DrawRect to draw.2. How to prevent my helperUIs covered by plugin's hierarchy gui items?
A: Assign HierarchyHelperManager.CalculateOffset and calculate how many offsets you need for them.3. Could I add more the one Draw method in one class?
A: YES.
```Support
=
Email Me, Let's talk :)Contributing
=
Your contribution will be licensed under the MIT license for this project.