Author Topic: Sprite Renderer in NGUI Scrollview  (Read 6187 times)

SHILPA

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Sprite Renderer in NGUI Scrollview
« on: October 30, 2015, 04:47:00 AM »
Hi,

I am using NGUI scrollview and i am also using unity's sprite renderer as a child of this scrollview. But sprite renderer does not clipped. Please help me to solve this problem.

Thanks and regards,
Shilpa Mittal.

Razhagal

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 14
    • View Profile
Re: Sprite Renderer in NGUI Scrollview
« Reply #1 on: October 30, 2015, 09:44:04 AM »
The clipping is done by the NGUI shaders. So in order to make the sprite renderers clippable you should add a material with one of NGUI's shaders.