public static void SetSeparatorSlotNames(SkeletonRenderer skeletonRenderer, string[] newSlotNames)
        {
            var field = SpineInspectorUtility.GetNonPublicField(typeof(SkeletonRenderer), SeparatorSlotNamesFieldName);

            field.SetValue(skeletonRenderer, newSlotNames);
        }
        public static string[] GetSeparatorSlotNames(SkeletonRenderer skeletonRenderer)
        {
            var field = SpineInspectorUtility.GetNonPublicField(typeof(SkeletonRenderer), SeparatorSlotNamesFieldName);

            return(field.GetValue(skeletonRenderer) as string[]);
        }
        static List <AtlasRegion> GetRegions(Atlas atlas)
        {
            FieldInfo regionsField = SpineInspectorUtility.GetNonPublicField(typeof(Atlas), "regions");

            return((List <AtlasRegion>)regionsField.GetValue(atlas));
        }