Skip to main content

EditorCommandCaller

A class in Root.Township, the global namespace.

Editor helper meant to run a console command from an inspector button. Its method is empty in this build.

Constructors​

MemberWhat it is
EditorCommandCaller()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

2 private and internal fields
MemberWhat it is
private string commandCommand text to run.
private bool isRunningInspector button field labelled Run.

Methods​

MemberWhat it is
async void RunCommandAsync()Empty in this build.