Example #1
0
 static public int SetBoneWeights(IntPtr l)
 {
     try {
         UnityEngine.Sprite self = (UnityEngine.Sprite)checkSelf(l);
         Unity.Collections.NativeArray <UnityEngine.BoneWeight> a2;
         checkValueType(l, 2, out a2);
         self.SetBoneWeights(a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }