瀏覽代碼

Fix playground

David Catuhe 4 年之前
父節點
當前提交
4c4ce58b3a
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. 7 0
      Playground/libs/babylon.manager.js
  2. 1 1
      Playground/src/components/rendererComponent.tsx

文件差異過大導致無法顯示
+ 7 - 0
Playground/libs/babylon.manager.js


+ 1 - 1
Playground/src/components/rendererComponent.tsx

@@ -126,7 +126,7 @@ export class RenderingComponent extends React.Component<IRenderingComponentProps
 
             // Check for Unity Toolkit
             if ((location.href.indexOf("UnityToolkit") !== -1 || Utilities.ReadBoolFromStore("unity-toolkit", false)) && !this._unityToolkitWasLoaded) {
-                await this._loadScriptAsync("https://raw.githubusercontent.com/MackeyK24/MackeyK24.github.io/master/toolkit/babylon.manager.js");
+                await this._loadScriptAsync("/libs/babylon.manager.js");
                 this._unityToolkitWasLoaded = true;
             }