Author Topic: How to Clip Unity's particular in ScrollView  (Read 2963 times)

openisgood

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
How to Clip Unity's particular in ScrollView
« on: October 27, 2015, 12:47:40 AM »
As the title says,I add a particular into the UISprite,then add the UIprite into the UIScrollView,when they get clipped by the panel, the particular keep showing even outside the boundaries. and UISprite get hidden.

English is my second language and my English is broken.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to Clip Unity's particular in ScrollView
« Reply #1 on: October 27, 2015, 12:51:47 AM »
I assume you mean particle.

You can't clip particles unless you write a custom shader for them that will do clipping the same way NGUI does clipping. If your particles use NGUI sprites, clipping will be done automatically as they will be using the Unlit/Transparent Colored shader by default.
« Last Edit: October 27, 2015, 01:28:39 AM by ArenMook »

openisgood

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: How to Clip Unity's particular in ScrollView
« Reply #2 on: October 27, 2015, 01:07:50 AM »
@ArenMook,it's particle.thank you.

I would like to know whether there are other people encountered the problem and solved