• Unity
  • About timeline clip label text

This will set the clip label to "flip" which is better than showing full class name.


[CustomTimelineEditor(typeof(SpineSkeletonFlipClip))]
public class SpineSkeletonFlipClipEditor : ClipEditor
{
    public override void OnClipChanged(TimelineClip clip)
    {
        var flipClip = (SpineSkeletonFlipClip)clip.asset;
        if (flipClip != null)
        {
            // TODO: you can custom the label based on setting here.
            clip.displayName = "Flip";
        }
    }
}

Related Discussions
...

Thanks very much for reporting and for providing the code already!
We improved upon it, and also included X/Y info in the text. Display name is now Flip X or Flip Y to immediately show the settings.

New 3.8 and 4.0-beta timeline extension UPM packages are available for download here as usual:
Spine Unity Download

Issue ticket for later reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/1863