bool AreAnyMaskMaterialsMissing()
 {
                 #if BUILT_IN_SPRITE_MASK_COMPONENT
     foreach (var o in targets)
     {
         var component = (SkeletonRenderer)o;
         if (!component.valid)
         {
             continue;
         }
         if (SpineMaskUtilities.AreMaskMaterialsMissing(component))
         {
             return(true);
         }
     }
                 #endif
     return(false);
 }
        static void EditorForceInitializeComponent(SkeletonRenderer component)
        {
            if (component == null)
            {
                return;
            }
            if (!SkeletonDataAssetIsValid(component.SkeletonDataAsset))
            {
                return;
            }
            component.Initialize(true);

                        #if BUILT_IN_SPRITE_MASK_COMPONENT
            SpineMaskUtilities.EditorAssignSpriteMaskMaterials(component);
                        #endif

            component.LateUpdate();
        }