Author Topic: I want about some help about UIInputField  (Read 3765 times)

woshihuo12

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
I want about some help about UIInputField
« on: April 28, 2014, 08:24:33 AM »
My Panel has a uiinputfield, for some purpose, i have to set my panel's render Q to 7000, but ui input fileld's caret's shader's Render Q is 3000, so i cant see the slash caret,
So what should i do to show the caret???

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I want about some help about UIInputField
« Reply #1 on: April 29, 2014, 02:33:06 PM »
Why would you need to adjust the render queue to 7000? That makes no sense. Everything in NGUI is based on depth. First camera depth, then panel depth, then widget depth. Render queue trick lets you order things, mixing things like particle systems in there if you want, but it also makes everything a lot more complicated.

woshihuo12

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: I want about some help about UIInputField
« Reply #2 on: April 29, 2014, 11:03:07 PM »
that is paticle's problem...i have a skill button in main scene,the button's RQ is 3000, and it has a paticle FX which has a RQ 3001 to render front the button, but i have another window,when this window opened, it will cover the skill button while not cover the button's FX, so i must change this window's RQ to a higher num(7000) to cover the FX....
while this window contains a input field..so  i come to the problem....

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I want about some help about UIInputField
« Reply #3 on: April 30, 2014, 06:37:49 PM »
Instead of specifying 7000 explicitly, choose "Starts at".