Table of Contents
ModHelperComponent for a text input field
public class ModHelperInputField : BTD_Mod_Helper.Api.Components.ModHelperComponent
Inheritance UnityEngine.MonoBehaviour ModHelperComponent ModHelperInputField
Gets the current value of the InputField
public string CurrentValue { get; }
The InputField component
public NK_TextMeshProInputField InputField { get; }
Il2Cpp.NK_TextMeshProInputField
The Text ModHelperComponent
public BTD_Mod_Helper.Api.Components.ModHelperText Text { get; }
Unity Component OnUpdate
protected override void OnUpdate();
Sets the current value of this
public void SetText(string text, bool sendCallback=true);
text
System.String
The new text
sendCallback
System.Boolean
Whether the onValueChanged listener should fire