DrawPath() public static method

public static DrawPath ( Slot s, PathAttachment p, Transform t, bool includeName ) : void
s Spine.Slot
p Spine.PathAttachment
t UnityEngine.Transform
includeName bool
return void
Beispiel #1
0
 public static void DrawPaths(Transform transform, Skeleton skeleton)
 {
     foreach (Slot s in skeleton.DrawOrder)
     {
         var p = s.Attachment as PathAttachment;
         if (p != null)
         {
             SpineHandles.DrawPath(s, p, transform, true);
         }
     }
 }