Browse Source

Fix playground

David Catuhe 4 years ago
parent
commit
4c4ce58b3a

File diff suppressed because it is too large
+ 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;
             }