Closed andriworld closed 3 weeks ago
Should be easy enough to add a field to choose the component you want the generated/remapped animation to apply to. I'll look into it for the next version of Animancer.
Awesome! Thank you
If you want to hard code it, just open the GenerateSpriteAnimationsTool
script and change the SpriteRenderer
to UnityEngine.UI.Image
(it's only referenced once in the script).
That worked! 😊 Thank you so much
Hi there, I would have liked to use "Generate Sprite Animations" tool to generate my Unity UI sprite animations. However the generated animation only animates sprites in the SpriteRenderer component and not sprites in the UIImage component.
The animation would likely require a different property binding:
SpriteRenderer sprite animation
![image](https://github.com/KybernetikGames/animancer/assets/6136757/6f5b20f9-605e-4d73-8c8e-d9602dde8e59)
UIImage sprite animation
![image](https://github.com/KybernetikGames/animancer/assets/6136757/adf2240f-380e-4d31-aee6-9e85bc3ffa67)
I tried remapping using the "Remap Animation Bindings Tool" but no source bindings appeared.
[This is just a nice to have. I only have few animations and I have created them manually]