Class InputUIHandler
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
InputUIHandler
Namespace: BennyKok.RuntimeDebug.Components.UI
Assembly: com.bennykok.runtime-debug-action.dll
Syntax
[RequireComponent(typeof(TMP_InputField))]
public class InputUIHandler : MonoBehaviour
Fields
cancelButton
Declaration
public Button cancelButton
Field Value
Type | Description |
---|---|
UnityEngine.UI.Button |
inputField
Declaration
[Title("References", false, 3)]
public TMP_InputField inputField
Field Value
Type | Description |
---|---|
TMPro.TMP_InputField |
sliderHelper
Declaration
public InputUISlider sliderHelper
Field Value
Type | Description |
---|---|
InputUISlider |
Methods
AskForInput(InputQuery, Action<String>, Action)
Declaration
public void AskForInput(InputQuery query, Action<string> resultCallback, Action cancelCallback = null)
Parameters
Type | Name | Description |
---|---|---|
InputQuery | query | |
System.Action<System.String> | resultCallback | |
System.Action | cancelCallback |
DimissInput()
Dismiss the input, which will deactivate the gameobject and replease the input block of the RuntimeDebugSystem
Declaration
public void DimissInput()