init(animations:)
Creates an animation library from a dictionary that associates an animation’s data with its name.
Declaration
init(animations: [String : AnimationResource])Parameters
- animations:
A dictionary of animation resources that you key by name.