Skip to main content

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.

Constructors​

MemberWhat it is
MethodMember(MethodInfo method)Creates a MethodMember from method.

Fields​

1 private and internal field
MemberWhat it is
private MethodInfo methodThe reflected method this entry calls.

Properties​

MemberWhat it is
override InspectorType InspectorType { get; }Always InspectorType.Method.
override string Name { get; }The method's name.

Methods​

MemberWhat 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: