Skip to Main Content

BTD_Mod_Helper​.Extensions​.InputFieldExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

InputFieldExt Class

Extensions for InputFields

public static class InputFieldExt

Inheritance System.Object  InputFieldExt

Methods

InputFieldExt.AddOnValueChangedEvent(this InputField, Function) Method

Adds a value changed event to an InputField

public static void AddOnValueChangedEvent(this InputField inputField, BTD_Mod_Helper.Extensions.InputFieldOnValueChanged.Function funcToExecute);

Parameters

inputField UnityEngine.UI.InputField

funcToExecute Function(string)

InputFieldExt.AddOnValueChangeEvent(this InputField, Function) Method

Adds a value change event to an InputField

public static void AddOnValueChangeEvent(this InputField inputField, BTD_Mod_Helper.Extensions.InputFieldOnValueChanged.Function funcToExecute);

Parameters

inputField UnityEngine.UI.InputField

funcToExecute Function(string)

InputFieldExt.AddSubmitEvent(this InputField, Function) Method

Add a submit event to an InputField

public static void AddSubmitEvent(this InputField inputField, BTD_Mod_Helper.Extensions.InputFieldSubmitEvent.Function funcToExecute);

Parameters

inputField UnityEngine.UI.InputField

funcToExecute Function(string)

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