subscript(_:)
Accesses a single animation in the collection with a key.
Declaration
subscript(key: String) -> AnimationResource? { get set }Parameters
- key:
A name for the animation to look up.
Return Value
An animation resource, or nil if the component can’t find one that maps to the key.