Skip to content
View De-Panther's full-sized avatar

Sponsors

@zite
Block or Report

Block or report De-Panther

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. 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).
    1
    var newScript = document.createElement("script");
    2
    newScript.onload = function() { 
    3
      var spector = new SPECTOR.Spector();
    4
      spector.displayUI();
    5
    };
  2. 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.
    1
    UnityLoader.compatibilityCheck = function (unityInstance, onsuccess, onerror) {
    2
      if (!UnityLoader.SystemInfo.hasWebGL) {
    3
        unityInstance.popup('Your browser does not support WebGL',
    4
          [{text: 'OK', callback: onerror}]);
    5
      } else {
  3. unity-webxr-export unity-webxr-export Public

    Develop and export WebXR experiences using Unity WebGL

    JavaScript 971 101

  4. WebXR-Unity-Samples WebXR-Unity-Samples Public

    Sample WebXR Unity projects, based on WebXR Export https://github.com/De-Panther/unity-webxr-export

    HTML 8

  5. webxr-input-profiles-loader webxr-input-profiles-loader Public

    WebXR Input Profiles Loader in Unity. Based on https://github.com/immersive-web/webxr-input-profiles

    C# 17 2