Author Topic: how can the NGUI sprite over the particleFX  (Read 4025 times)

lishuen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
how can the NGUI sprite over the particleFX
« on: August 11, 2014, 10:44:56 PM »
I have a particleFX over one sprite  but don't want to over  all the NGUI sprite.

beermoney

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 80
    • View Profile
Re: how can the NGUI sprite over the particleFX
« Reply #1 on: August 12, 2014, 02:09:45 AM »
you can conrtol the renderQueue on the ui panel, so you might set the panel of the background sprite to 2500. The particle effect will probably be defaulted to 3000, but you could change the renderQueue of the particle effect, see  second post here: http://www.tasharen.com/forum/index.php?topic=776.0,  then the sprites you want to draw on top should be on a panbel with a higher render queue, ie. 3500.

lishuen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: how can the NGUI sprite over the particleFX
« Reply #2 on: August 13, 2014, 05:33:36 AM »
 :) It helped me out. THS a lot~!