Skip to content

Commit

Permalink
feature: Added restrictions to the CesiumRuntime.asmdef to prevent it…
Browse files Browse the repository at this point in the history
… from attempting to load on platforms that dont have a valid CesiumForUnity native plugin
  • Loading branch information
Gilado committed Oct 21, 2024
1 parent bb729b9 commit 09e9dae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Runtime/CesiumRuntime.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
"Unity.Mathematics",
"Unity.Splines"
],
"includePlatforms": [],
"includePlatforms": [
"Android",
"Editor",
"iOS",
"macOSStandalone",
"WSA",
"WindowsStandalone32",
"WindowsStandalone64"
],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": false,
Expand Down

0 comments on commit 09e9dae

Please sign in to comment.