Merge pull request #1626 from orangeagain/master

Disable WebGl color space check
This commit is contained in:
ousttrue
2022-05-09 13:12:16 +09:00
committed by GitHub

View File

@@ -12,7 +12,9 @@ namespace UniGLTF.EditorSettingsValidator
static UnityEditorSettingsValidatorWindow()
{
#if !UNITY_WEBGL
EditorApplication.update += Validate;
#endif
}
private static void Validate()
@@ -26,7 +28,9 @@ namespace UniGLTF.EditorSettingsValidator
private void OnProjectChange()
{
#if !UNITY_WEBGL
Validate();
#endif
}
private void OnGUI()
@@ -95,4 +99,4 @@ namespace UniGLTF.EditorSettingsValidator
}
}
}
}
}