How to fade out animated sprite? (using Orthello)

Hi to All…

I am not a material and shader guru so I am lost…

I used to normally fade out a gameObject by changing its material’s
color’s alpha.

Now I am trying to fade out my sprite…
Setting the Alpha property is not a solution (I think is something has to do with the material which is auto set by Orthelo Alpha Blended, if
I check the Transparent checkbox… which is a must for my spritesheet.

I use transparent png as my spritesheet.
I attach the inspector window settings.

How can I change the transparency of the sprite to smoothly fade it out?

Regards
Gabor

Hi,

Martijn Segers (WyrmTale Games) was so kind to answer me.
Really excellent support.

Martijn’s answer:

to use the sprite’s alpha channel :

  • set sprite.materialReference to ‘alpha’

you can now use the

sprite.tintColor = tinting of the sprite
( Color.grey = normal color )

and

sprite.alpha = transparency

properties.