When the fade process begins, it should begin from the alpha value that it currently has, but the effect will currently always result in a completely invisible or fully visible sprite.
I expect having it try to guess what the final alpha value should be would cause unintended values at times - though it may be possible to introduce min/max values to the component.
But it would not need to guess if the initial alpha value is sampled on Awake.. thats how I fixed it.
I agree that it should end on alpha 0f when fadedOut but when fadeIn it should end on initial alpha.
Comments
When the fade process begins, it should begin from the alpha value that it currently has, but the effect will currently always result in a completely invisible or fully visible sprite.
I expect having it try to guess what the final alpha value should be would cause unintended values at times - though it may be possible to introduce min/max values to the component.
But it would not need to guess if the initial alpha value is sampled on Awake.. thats how I fixed it.
I agree that it should end on alpha 0f when fadedOut but when fadeIn it should end on initial alpha.