Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Read only Input Field or Selectable Text

Discussion in 'UGUI & TextMesh Pro' started by BonyYousuf, Oct 8, 2014.

  1. BonyYousuf

    BonyYousuf

    Joined:
    Aug 22, 2013
    Posts:
    110
    Hi,
    I want a text field where user can select the text but can not type into it. What is the best way to achieve this?

    Thanks
     
  2. BonyYousuf

    BonyYousuf

    Joined:
    Aug 22, 2013
    Posts:
    110
  3. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
  4. asperatology

    asperatology

    Joined:
    Mar 10, 2015
    Posts:
    981
  5. apollo081594

    apollo081594

    Joined:
    Aug 26, 2016
    Posts:
    2
    just uncheck the input field(script) in inspector
     
  6. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
    Input fields come with a read only box. check it.
     
    Tonio1308 likes this.