Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
radicalappdev's avatar
7 years ago

ORVScreenFade - Add FadeIn public method?

I wanted to use the OVRScreenFade to fade to black on game over and then fade back to the scene. This class can almost do everything on it's own but it does not have a FadeIn() method. I added one to mine that does the same thing as FadeOut, except it reverses the parameters in the coroutine.
public void FadeIn()
{
StartCoroutine(Fade(1, 0));
}

It would be awesome if Oculus would add add this to the class.