mihai9323 / Jocoi

0 stars 0 forks source link

CameraFade #53

Closed mihai9323 closed 9 years ago

mihai9323 commented 9 years ago

Make a script that has the following functions: public FadeToWhite(float time); public FadeToBlack(float time); public FadeToNormal(float time);

Those functions will be used for transitioning between different scenes

Merlicuras commented 9 years ago

I found the script i was talking about. It was called AutoFade. I've uploaded it to github.

Merlicuras commented 9 years ago

It works like this: AutoFade.LoadLevel(string aLevelName, float aFadeOutTime, float aFadeInTime, Color aColor)