MethodMember
A class in Root.Township, the global namespace.
An in-game inspector entry for a method on a component. Interacting with it calls the method with no arguments.
- Listed in Global namespace: M to O
- Inherits or implements
InspectorBase
Constructors
| Member | What it is |
|---|---|
MethodMember(MethodInfo method) | Creates a MethodMember from method. |
Fields
1 private and internal field
Properties
| Member | What it is |
|---|---|
override InspectorType InspectorType { get; } | Always InspectorType.Method. |
override string Name { get; } | The method's name. |
Methods
| Member | What it is |
|---|---|
override void Interact(Component target, InteractableInspector interactable) | Invokes the method on the target component, with no arguments. |
Used in
Members of other types that take, return or hold a MethodMember: