Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro Issue with inputfield "Hide Mobile Input" at runtime

Discussion in 'UGUI & TextMesh Pro' started by Zarqyjack1, Mar 6, 2023.

  1. Zarqyjack1

    Zarqyjack1

    Joined:
    May 9, 2018
    Posts:
    1
    Hi guys. I'm having an issue with changing the "Hide Mobile Input" property at runtime. I have tried to change it using the "shouldHideMobileInput" property from the TMP_InputField component. However, changing this value to either true or false produces the same result. It always changes the "Hide Mobile Input" to true. I have no idea why this is happening. All i'm doing is GetComponent<TMP_InputField>().shouldHideMobileInput = false.

    I have tried to google it but to no avail. Have you guys any idea or is this a bugg?

    Im using Unity 2022.2.6f1 and TextMeshPro 3.0.6

    Please let me know if there are any more information needed. Thanks!