소스 검색

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;
             }