Pinned Loading
-
Code snippet for loading SpectorJS i...
Code snippet for loading SpectorJS in WebGL page. Copy this code to the development console of a web page with WebGL content. Make sure that you are posting it in the right context(if the canvas is inside an iframe). 1var newScript = document.createElement("script");
2newScript.onload = function() {
3var spector = new SPECTOR.Spector();
4spector.displayUI();
5};
-
Unity WebGL on mobile - Code snippet...
Unity WebGL on mobile - Code snippet for patching UnityLoader.compatibilityCheck() so it won't show popup message on mobile. Works in Unity 2018 and 2019. Unity 2020 switched templates and don't need it. 1UnityLoader.compatibilityCheck = function (unityInstance, onsuccess, onerror) {
2if (!UnityLoader.SystemInfo.hasWebGL) {
3unityInstance.popup('Your browser does not support WebGL',
4[{text: 'OK', callback: onerror}]);
5} else {
-
unity-webxr-export
unity-webxr-export PublicDevelop and export WebXR experiences using Unity WebGL
-
WebXR-Unity-Samples
WebXR-Unity-Samples PublicSample WebXR Unity projects, based on WebXR Export https://github.com/De-Panther/unity-webxr-export
HTML 9
-
webxr-input-profiles-loader
webxr-input-profiles-loader PublicWebXR Input Profiles Loader in Unity. Based on https://github.com/immersive-web/webxr-input-profiles
-
webxr-multiplayer-template
webxr-multiplayer-template PublicUnity WebXR Multiplayer Template, based on Unity VR Multiplayer Template.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.