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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Shift, backspace, weird behaviour on GUI.TextField

Discussion in 'Flash' started by luisanton, May 21, 2012.

  1. luisanton

    luisanton

    Joined:
    Aug 25, 2009
    Posts:
    325
    Pressing shift produces a zero, and backspace simply doesn't seem to work... Is there a workaround for this?

    I'm not doing anything fancy:

    Code (csharp):
    1.  
    2.         GUI.Label (new Rect(15 , 15 , 170, 30), "Name", textStyle);
    3.         name = GUI.TextField(new Rect(200+ x_ini, 15 + y_ini + 0*40, 200, 30), name, inputStyle);
    4.  
     
  2. klad

    klad

    Joined:
    Jul 13, 2011
    Posts:
    17
    I have also encountered this problem, has anyone found a solution for this?

    I am using version 3.5.0 still, has this been solved in the latest version?
     
  3. luisanton

    luisanton

    Joined:
    Aug 25, 2009
    Posts:
    325
    No, no solution. Please fill a bug report you too, so they work even harder on Unity Flash :D
     
  4. laurent-clave

    laurent-clave

    Joined:
    Jul 18, 2011
    Posts:
    280
    Same bug!
    I hope it will be resolved quickly because it's crucial for my project.
    Do you think we can fix it with a box and Input.GetKey (key: KeyCode)?
     
  5. luisanton

    luisanton

    Joined:
    Aug 25, 2009
    Posts:
    325
    My colleague tried, to no avail. It seems that it's the keycode what doesn't work properly, but feel free to try!
     
  6. RalphH

    RalphH

    Unity Technologies

    Joined:
    Dec 22, 2011
    Posts:
    592
    Just to let you know; we are working on this one.
     
  7. laurent-clave

    laurent-clave

    Joined:
    Jul 18, 2011
    Posts:
    280
    Thank Ralph ;)
     
  8. klad

    klad

    Joined:
    Jul 13, 2011
    Posts:
    17
    Do we have an estimated ETA?
     
  9. RalphH

    RalphH

    Unity Technologies

    Joined:
    Dec 22, 2011
    Posts:
    592
    No, not yet. if you depend on the Flash preview, I would start working around this issue rather then waiting for a build to fix this; we will not release more Flash public preview versions on 3.5.