Hide
SpineAnimationPicker

Pick a spine animation from a spine skeleton renderer, to a string field or a AnimationReferenceAsset field.

Parameters

  • string skeletonTarget = null: the target, either be a SkeletonData, SkeletonRenderer, or component/gameObject with SkeletonRenderer attached. Use GetComponent<SkeletonRenderer>() to the current object if null.
using SaintsField.Spine; // get on current target [SpineAnimationPicker] private string animationName; // get from other field or callback public SkeletonAnimation _spine; [SpineAnimationPicker(nameof(_spine))] private AnimationReferenceAsset animationRef;