Method TryGetAnimationTag
TryGetAnimationTag(string, out AnimationTag?)
Gets the AnimationTag element with the specified name in this SpriteSheet.
public bool TryGetAnimationTag(string name, out AnimationTag? tag)
Parameters
name
stringThe name of the AnimationTag to locate.
tag
AnimationTagWhen this method returns true, contains the AnimationTag located; otherwise, null
Returns
- bool
true if the AnimationTag was located; otherwise, false.
This method returns false if this SpriteSheet does not contain an AnimationTag element with the specified name.