Question by
lukejapanwalker · Aug 10, 2016 at 03:23 PM ·
modeltransparencyalphafadefadeout
Making A Model Transparent/Fade? Unity-chan etc... 3 days no results!
I am trying to make my dead enemies fade away completely but I have had no luck.
I have tried every shader I can think of and made sure they were transparent but nothing changes on the model objects.
If I create a sphere it works with the sphere and the sphere fades away. here is my simple fading code:
Color temp = this.gameObject.GetComponent<Renderer>().material.color;
temp.a -= 0.1f;
this.gameObject.GetComponent<Renderer>().material.color = temp;
If I add this script to UnityChan or any other model it changes nothing, I have even tried applying the same material as the sphere to the model but nothing...
I am new to Unity so maybe it is really simple, I have ben googling 24/7 the last few days so any help would be really appreciated.
Comment