Skip to main content

InGameInspector.BubbleInspectorTool

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Debug inspector tool that points at a networked object and runs BubbleInspector.Evaluate on it. One of the twelve tools built in InGameInspector.Awake.

Constructors​

MemberWhat it is
BubbleInspectorTool(InGameInspector inspector)Creates an InGameInspector.BubbleInspectorTool from inspector.

Fields​

1 private and internal field
MemberWhat it is
private NetworkPrefab selectedThe network prefab the last raycast hit.

Properties​

MemberWhat it is
override string Name { get; }Shown on the inspector as "Bubble Inspector".

Methods​

MemberWhat it is
override void Disable()Restores teleport mode and turns off the pointer ray.
override void Enable(Interactable pickup, Interactor interactor)Takes over the teleport button and turns on the pointer ray.
override void PressClearAsync()Runs BubbleInspector.Evaluate on the selected prefab, if one is selected.
override void PressDown()Does nothing for this tool.
override void PressUp()Does nothing for this tool.
override void ReceiveAngle(float angle)Does nothing for this tool.
override void ReceiveInput(PlayerInput controller)On a teleport press, raycasts from the pointer and selects the NetworkPrefab that was hit.
override void Update()Shows the selected entity's name, or asks you to select an object.