I want to animate a TextureRect in the context of animated UI, so that its texture changes every few milliseconds. I have done it with an editor, but I think it is prudent to do this aspect by code. I watched many tutorials and read the documentation, but I realised that most of the relevant tutorials are outdated because of the existence of AnimationLibrary.
I could not wrap my head around AnimationLibrary and I got stuck because of this issue. Is there a way to simply use an AnimationPlayer with an Animation resource instead of an AnimationLibrary?
Thank you in advance!