Ejemplo n.º 1
0
 public static RegionAttachment AttachUnitySprite(this Skeleton skeleton, string slotName, Sprite sprite, string shaderName = "Spine/Skeleton", bool applyPMA = true, float rotation = 0f) =>
 skeleton.AttachUnitySprite(slotName, sprite, Shader.Find(shaderName), applyPMA, rotation);
Ejemplo n.º 2
0
 public static RegionAttachment AttachUnitySprite(this Skeleton skeleton, string slotName, Sprite sprite, string shaderName = SpriteAttacher.DefaultPMAShader, bool applyPMA = true)
 {
     return(skeleton.AttachUnitySprite(slotName, sprite, Shader.Find(shaderName), applyPMA));
 }
Ejemplo n.º 3
0
 public static Attachment AttachUnitySprite(this Skeleton skeleton, string slotName, UnityEngine.Sprite sprite, string shaderName = "Spine/Skeleton", bool applyPMA = true)
 {
     return(skeleton.AttachUnitySprite(slotName, sprite, Shader.Find(shaderName), applyPMA));
 }