T.Fly() написавForgot to check back in. The fix is functional, thanks.
Glad to hear, thanks for getting back to us.
T.Fly() написавAny tips on how to fade back in from 0 alpha to 1? Anything I've tried hasn't worked so far. Even tried Color.Lerp from Color.clear to Color.white and use alpha from that, still no success.
Do you mean you want to adjust the code from fade-out to fade-in? If so, then you just need to invert the value:
// fade out
float fadeoutAlpha = fadeoutSecondsRemaining / fadeoutSeconds;
skeletonRenderTexture.color.a = fadeoutAlpha;
// fade in
float fadeInAlpha = 1 - fadeInSecondsRemaining / fadeInSeconds;
skeletonRenderTexture.color.a = fadeInAlpha;