Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.ModHelperInputField


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

ModHelperInputField Class

ModHelperComponent for a text input field

public class ModHelperInputField : BTD_Mod_Helper.Api.Components.ModHelperComponent

Inheritance UnityEngine.MonoBehaviourModHelperComponent  ModHelperInputField

Properties

ModHelperInputField.CurrentValue Property

Gets the current value of the InputField

public string CurrentValue { get; }

Property Value

System.String

ModHelperInputField.InputField Property

The InputField component

public NK_TextMeshProInputField InputField { get; }

Property Value

Il2Cpp.NK_TextMeshProInputField

ModHelperInputField.Text Property

The Text ModHelperComponent

public BTD_Mod_Helper.Api.Components.ModHelperText Text { get; }

Property Value

ModHelperText

Methods

ModHelperInputField.OnUpdate() Method

Unity Component OnUpdate

protected override void OnUpdate();

ModHelperInputField.SetText(string, bool) Method

Sets the current value of this

public void SetText(string text, bool sendCallback=true);

Parameters

text System.String

The new text

sendCallback System.Boolean

Whether the onValueChanged listener should fire

To learn how to download BTD Mod Helper and install mods, click here