Scene Hierarchy Callbacks
Allows customization of the scene hierarchy tree through callbacks.
com.newblood.hierarchy-callbacks 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/hierarchy-callbacks.git README Markdown
Copy this to your project's README.md
## Installation
Add **Scene Hierarchy Callbacks** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/hierarchy-callbacks.git
```
[](https://www.pkglnk.dev/pkg/hierarchy-callbacks)Used By (1)
README
Scene Hierarchy Callbacks
Allows customization of the scene hierarchy tree through callbacks.
Usage
This package exposes an interface (NewBlood.Editor.ISceneHierarchyCallbackReceiver) for receiving callbacks when a GameObject is drawn in the scene hierarchy. Unlike the existing EditorApplication.hierarchyWindowItemOnGUI callback, access to the TreeViewItem is given, allowing you to change the icon and other properties.
namespace NewBlood.Editor
{
public interface ISceneHierarchyCallbackReceiver
{
void OnSceneHierarchyGUI(TreeViewItem item, Rect selectionRect, bool expanded);
}
}
No comments yet. Be the first!