Inherits EditorWindow, and IHasCustomMenu.
Edit and show notes for assets and scene UnityEngine.GameObject
.
Easily comment the project structure to partners, or use it as a todo list. Edit and read the notes with a well readable list and search filter. Switch lock or track to show notes of selected objects, just like the Inspector. Show note icons with custom color and tooltip in the Hierarchy or Project window for quick preview if exist. Persist the scene notes added or changed when playing.
To open:
- Menu "Window/Notebook" to open.
- Context menu "Edit Note" in the Hierarchy or Project window to open and lock with the selection.
- Click the icon in the Hierarchy or Project window to popup the note.
- Or press "Ctrl" and click it to open a normal locked window.
The window:
- Context menu "Lock" or the top-right "Lock" icon to switch lock or track selection.
- Context menu "Scan..." to scan and show the existing notes in the scene or assets.
- Drag objects into the window to add items if locked.
- Click the "Out" icon at the right of an item label to remove from the list if locked.
Filter items with the search bar:
- Input any text to filter the item label or note, e.g., "button" or "#TODO @Boss" if noted.
- Click "Magnifier" icon to filter notes by tags, e.g., words start with "#" or "@".
Browse notes with well readability:
- Adjust the font size with the top-right slider, useful for FHD laptop.
- Click the label to highlight an item, useful for moving eyes between multiple windows.
- Customize the label and icon color with the left color picker, or set black to use default color.
- Click the "Aim" icon to ping the noted object or double-click to select it.
- The text before the first empty line becomes the tooltip in the Hierarchy and Project window.
Instructions:
- This saves asset notes in
AssetImporter.userData
, it may conflict with other plugins which use.
- Then saves scene notes in a
Note
component, and it's excluded from build by default.
void AddItemsToMenu |
( |
GenericMenu |
menu | ) |
|
Add the window context menu items.
Menu "About" to open the online manual, and "Settings" for common preferences. Menu "New Window" to open another Notebook
window. Menu "Lock" to switch lock state, and "Remove Empty Notes" to scan and remove empty Note
components.
Menu "Scan All" to lock show all existing scene and asset notes. Menu "Scan Scene" and "Scan Asset" for scene notes or assets, and "Scan Selected" to scan from selection. Scanning will ignore scene notes with HideFlags.HideInHierarchy
, or assets with label "Ignore".
- Parameters
-