Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

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

Style
Preview
pkglnk installs badge
## 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
```

[![pkglnk](https://www.pkglnk.dev/badge/hierarchy-callbacks.svg?style=pkglnk)](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);
    }
}

Comments

No comments yet. Be the first!