filipst
filipst

Reputation: 1573

Unity 4.6 UI image blur

Is there a way to set blur on the image in new UI on Unity 4.6?

I need normal image to become blurred or pixelized on button click.

I did try to use some free shader from asset store but it doesn't work on android phones.

Upvotes: 0

Views: 3151

Answers (2)

peroon
peroon

Reputation: 84

No script needed.

You should make normal image and blurred image

and make a uGUI Button.

Then, Button Component in Inspector, change "transition"

ColorTint to SpriteSwap, and attach two images.

Upvotes: 0

Calvin Weibel
Calvin Weibel

Reputation: 56

You might try making a blurred copy of the image and replacing it on button click via script. http://docs.unity3d.com/Manual/script-Image.html

Upvotes: 2

Related Questions