SpineManager manages pixi spine skeleton data.

Implements

Constructors

Methods

  • Get the object for the given resource that is already loaded (preloaded or loaded with loadJson). If the resource is not loaded, null will be returned.

    Parameters

    • resourceName: string

      The name of the spine skeleton.

    Returns null | ISkeletonData<IBoneData, ISlotData, ISkin, IAnimation<ITimeline>, IEventData, IIkConstraintData, ITransformConstraintData, IPathConstraintData>

    the spine skeleton if loaded, null otherwise.

  • Check if the given spine skeleton was loaded.

    Parameters

    • resourceName: string

      The name of the spine skeleton.

    Returns boolean

    true if the content of the spine skeleton is loaded, false otherwise.