|
1 | 1 |  |
2 | 2 | # Introduction |
3 | 3 |
|
4 | | -This asset is designed to reduce the drag-and-drop actions required for setting reference fields. |
5 | | -It provides two main features: |
| 4 | +This asset was created to reduce drag-and-drop actions when assigning reference fields in the Unity Editor.<br> |
| 5 | +It provides the following two main features. |
6 | 6 |
|
7 | | -## 1. Reference Field Assignment Feature |
| 7 | +## 1. Reference Field Assignment |
8 | 8 |
|
9 | | -You can open a context menu on almost any reference field and quickly assign a reference object from the selection history. |
| 9 | +You can open a context menu on almost any reference field and quickly assign reference objects from the selection history.<br> |
10 | 10 | The context menu includes the following options: |
11 | 11 |
|
12 | | -- ***SelectionHistory***: Select and assign any object from the list. |
13 | | -- ***Find Recently Selected***: Assign the most recently selected object. |
14 | | -- ***Last Selected***: Assign the last assigned object. |
15 | | -- ***Find in Hierarchy Tree***: Select and assign an object from parent-child relationships. |
| 12 | +- `Selection History`: Assign any object from the selection history |
| 13 | +- `Hierarchy Tree`: Assign objects from parent-child relationships |
| 14 | +- `Nearest Sibling`: Assign objects from previous or next siblings at the same hierarchy level |
| 15 | +- `Get Component`: Assign references by executing GetComponent-related methods |
| 16 | +- `Recently Selected`: Assign recently selected objects that match the target type |
| 17 | +- `Last Assigned`: Assign the last object set using this asset |
16 | 18 |
|
17 | | - |
| 19 | + |
18 | 20 |
|
19 | | -## 2. Selection History Feature |
| 21 | +## 2. Selection History |
20 | 22 |
|
21 | | -This feature keeps a history of selected objects, allowing you to access them via a dropdown list or shortcut keys. |
22 | | -You can use the custom menu at the top of the Inspector window or the following shortcuts: |
| 23 | +The history of selected objects is stored, and an access button is displayed at the top of the Inspector.<br> |
| 24 | +You can quickly access objects in the history using a dropdown list or shortcut keys.<br> |
| 25 | +Additionally, you can open the Inspector window for a selected object by **Ctrl+clicking** it. |
23 | 26 |
|
24 | | -- ***Number 3 key***: Select the previous object from the selection history. |
25 | | -- ***Number 4 key***: Select the next object from the selection history. |
| 27 | +- `Shift + Mouse Wheel Down`: Select the previous object in the selection history. |
| 28 | +- `Shift + Mouse Wheel Up`: Select the next object in the selection history. |
26 | 29 |
|
27 | | -(You can change these shortcuts anytime in the Edit/Shortcuts settings.) |
| 30 | +(Shortcut keys can be customized from the Edit/Shortcuts window.) |
28 | 31 |
|
29 | 32 |  |
| 33 | + |
| 34 | +## 3. Support |
| 35 | + |
| 36 | +- Full Undo support. |
| 37 | +- Supports Domain Reload (safe to use during script recompilation). |
| 38 | +- Supported Unity version: Unity 2022 or later. |
| 39 | +- Compatible with Odin Inspector. |
| 40 | +- Bug reports can be submitted here: |
| 41 | + <https://github.com/emptybraces/reference-selector/issues> |
0 commit comments