Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //****** Donations are greatly appreciated. ******
- //****** You can donate directly to Jesse through paypal at https://www.paypal.me/JEtzler ******
- var alpha : float = 0;
- function Start () {
- ChangeAlpha();
- }
- function Update () {
- }
- function ChangeAlpha () {
- yield WaitForSeconds(5);
- for(i=1; i>0; i++) {
- yield WaitForSeconds(0.05);
- alpha += 0.05;
- renderer.material.SetFloat("_Cutoff", alpha);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement