Siccity / GLTFUtility

Simple GLTF importer for Unity
MIT License
1.02k stars 220 forks source link

Apple Vision OS support #249

Open guilherme-francisco opened 5 months ago

guilherme-francisco commented 5 months ago
stuurge commented 3 months ago

Hi, I appear to not be able to make a PR for this. In GLTFUtilityDracoLoader.cs:101, put UNITY_VISIONOS as an extra signifier to set that const variable `#if !UNITY_EDITOR && (UNITY_WEBGL || UNITY_IOS || UNITY_VISIONOS) const string DRACODEC_UNITY_LIB = "__Internal";

elif UNITY_ANDROID || UNITY_STANDALONE || UNITY_WSA || UNITY_EDITOR || PLATFORM_LUMIN

const string DRACODEC_UNITY_LIB = "dracodec_unity";

endif`