Esempio 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);
Esempio 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));
 }
 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));
 }