public static void SetAnimation(this ISkeletonAnimation anim, string nameAnim, List <string> skinMix, Color color, bool loop = false, Action onComplete = null) { anim.SetAnimation(nameAnim, skinMix, loop, onComplete); anim.SetColor(color); }
public static void SetAnimation(this ISkeletonAnimation anim, List <string> skinMix, Color color) { anim.SetAnimation(skinMix); anim.SetColor(color); }