private void SetBackground(BaseScreenComponent panel, Color color, string textureName)
 {
     if (TextureReplacement.TryImportTexture(textureName, true, out Texture2D tex))
     {
         panel.BackgroundTexture = tex;
         TextureReplacement.LogLegacyUICustomizationMessage(textureName);
     }
     else
     {
         panel.BackgroundColor = color;
     }
 }