Author Topic: How to use SpriteRender Animation with NGUIScroll View?  (Read 3013 times)

superbigface

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
How to use SpriteRender Animation with NGUIScroll View?
« on: January 04, 2015, 03:07:02 AM »
Artist makes complex animation by SpriteRender animation,now I can't fixed the depth with the NGUIScrollView and other widgets. How should I do? :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to use SpriteRender Animation with NGUIScroll View?
« Reply #1 on: January 04, 2015, 07:42:37 AM »
SpriteRenderer is not an NGUI component. Only NGUI widgets can be clipped by scroll views. It's done by using a special shader, values to which are set by the UIDrawCall class.