A class in Root.Township, the global namespace.
In-game bubble inspector node for one component. Interacting with it spreads bubbles for the component's exposed methods and values around it, and interacting again removes them.
Constructors
| Member | What it is |
|---|
ComponentInspector(MonoBehaviour component) | Creates a ComponentInspector from component. |
Fields
| Member | What it is |
|---|
List<MethodMember> availableMethods | Methods shown as bubbles when expanded. |
List<ValueMember> availableValues | Fields or properties shown as bubbles when expanded. |
3 private and internal fields
| Member | What it is |
|---|
private Component component | The component being inspected. |
private bool isExpanded | Whether the member bubbles are showing. |
private List<InteractableInspector> spawned | Member bubbles currently spawned. |
Properties
Methods
| Member | What it is |
|---|
override void Clean() | Removes every member bubble this node spawned. |
override void Interact(Component target, InteractableInspector interactable) | Toggles the member bubbles, laying them out in a ring around the component. |
Used in
Members of other types that take, return or hold a ComponentInspector: