Is it possible to fade UI elements that are children of a gameObject with a sprite fader?
I noticed that this doesn't seem to work for a UI button, but I'm wondering if that is because the image is rendered with the "Image" component instead of the "Sprite Renderer" component.
Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
SpriteFader will only work with Sprite Renderer components, yes. If you want a UI Image component equivalent, you can copy the script and replace SpriteRenderer references with UnityEngine.UI.Image.
Use of an Animator component to control appearance is an option here, as well.
Got it, thank you for the heads up!