I want a number pad to open in my android game when I click the TMPro_InputField. However, I am not able to do it. If I could help to make Number Pad (TouchScreenKeyboardType.NumberPad) to work in my game. Thank you.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class InputNumber : MonoBehaviour {
public TMP_InputField input;
// Use this for initialization
void Start () {
input.keyboardType = TouchScreenKeyboardType.NumberPad;
}
// Update is called once per frame
void Update () {
}
}