UIPlayAnimation simply plays an animation in a TimeScale-independent fashion.
UISpriteAnimation is the script that shows how to do very basic sprite animation by specifying a prefix, such as "Idle", which will then find and loop through all sprites that begin with "Idle".