diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..fed577e Binary files /dev/null and b/dist.zip differ diff --git a/dist1.zip b/dist1.zip new file mode 100644 index 0000000..19dbd83 Binary files /dev/null and b/dist1.zip differ diff --git a/public/Hoister/Build/Hoister.data.unityweb b/public/Hoister/Build/Hoister.data.unityweb deleted file mode 100644 index 2c47f48..0000000 Binary files a/public/Hoister/Build/Hoister.data.unityweb and /dev/null differ diff --git a/public/Hoister/Build/Hoister.framework.js.unityweb b/public/Hoister/Build/Hoister.framework.js.unityweb deleted file mode 100644 index 87ab1e8..0000000 Binary files a/public/Hoister/Build/Hoister.framework.js.unityweb and /dev/null differ diff --git a/public/Hoister/Build/Hoister.loader.js b/public/Hoister/Build/Hoister.loader.js deleted file mode 100644 index 0917e44..0000000 --- a/public/Hoister/Build/Hoister.loader.js +++ /dev/null @@ -1 +0,0 @@ -function createUnityInstance(t,n,l){function c(e,t){if(!c.aborted&&n.showBanner)return"error"==t&&(c.aborted=!0),n.showBanner(e,t);switch(t){case"error":console.error(e);break;case"warning":console.warn(e);break;default:console.log(e)}}function r(e){var t=e.reason||e.error,n=t?t.toString():e.message||e.reason||"",r=t&&t.stack?t.stack.toString():"";(n+="\n"+(r=r.startsWith(n)?r.substring(n.length):r).trim())&&u.stackTraceRegExp&&u.stackTraceRegExp.test(n)&&x(n,e.filename||t&&(t.fileName||t.sourceURL)||"",e.lineno||t&&(t.lineNumber||t.line)||0)}function e(e,t,n){var r=e[t];void 0!==r&&r||(console.warn('Config option "'+t+'" is missing or empty. Falling back to default value: "'+n+'". Consider updating your WebGL template to include the missing config option.'),e[t]=n)}l=l||function(){};var o,u={canvas:t,webglContextAttributes:{preserveDrawingBuffer:!1,powerPreference:2},cacheControl:function(e){return e==u.dataUrl||e.match(/\.bundle/)?"must-revalidate":"no-store"},streamingAssetsUrl:"StreamingAssets",downloadProgress:{},deinitializers:[],intervals:{},setInterval:function(e,t){e=window.setInterval(e,t);return this.intervals[e]=!0,e},clearInterval:function(e){delete this.intervals[e],window.clearInterval(e)},preRun:[],postRun:[],print:function(e){console.log(e)},printErr:function(e){console.error(e),"string"==typeof e&&-1!=e.indexOf("wasm streaming compile failed")&&(-1!=e.toLowerCase().indexOf("mime")?c('HTTP Response Header "Content-Type" configured incorrectly on the server for file '+u.codeUrl+' , should be "application/wasm". Startup time performance will suffer.',"warning"):c('WebAssembly streaming compilation failed! This can happen for example if "Content-Encoding" HTTP header is incorrectly enabled on the server for file '+u.codeUrl+", but the file is not pre-compressed on disk (or vice versa). Check the Network tab in browser Devtools to debug server header configuration.","warning"))},locateFile:function(e){return e},disabledCanvasEvents:["contextmenu","dragstart"]};for(o in e(n,"companyName","Unity"),e(n,"productName","WebGL Player"),e(n,"productVersion","1.0"),n)u[o]=n[o];u.streamingAssetsUrl=new URL(u.streamingAssetsUrl,document.URL).href;var a=u.disabledCanvasEvents.slice();function i(e){e.preventDefault()}a.forEach(function(e){t.addEventListener(e,i)}),window.addEventListener("error",r),window.addEventListener("unhandledrejection",r);var s="",d="";function f(e){document.webkitCurrentFullScreenElement===t?t.style.width&&(s=t.style.width,d=t.style.height,t.style.width="100%",t.style.height="100%"):s&&(t.style.width=s,t.style.height=d,d=s="")}document.addEventListener("webkitfullscreenchange",f),u.deinitializers.push(function(){for(var e in u.disableAccessToMediaDevices(),a.forEach(function(e){t.removeEventListener(e,i)}),window.removeEventListener("error",r),window.removeEventListener("unhandledrejection",r),document.removeEventListener("webkitfullscreenchange",f),u.intervals)window.clearInterval(e);u.intervals={}}),u.QuitCleanup=function(){for(var e=0;e>2],usedWASMHeapSize:u.HEAPU32[1+(e>>2)],totalJSHeapSize:u.HEAPF64[1+(e>>3)],usedJSHeapSize:u.HEAPF64[2+(e>>3)]}}};function x(e,t,n){-1==e.indexOf("fullscreen error")&&(u.startupErrorHandler?u.startupErrorHandler(e,t,n):u.errorHandler&&u.errorHandler(e,t,n)||(console.log("Invoking error handler due to\n"+e),"function"==typeof dump&&dump("Invoking error handler due to\n"+e),x.didShowErrorMessage||(-1!=(e="An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:\n"+e).indexOf("DISABLE_EXCEPTION_CATCHING")?e="An exception has occurred, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project WebGL player settings to be able to catch the exception or see the stack trace.":-1!=e.indexOf("Cannot enlarge memory arrays")?e="Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.":-1==e.indexOf("Invalid array buffer length")&&-1==e.indexOf("Invalid typed array length")&&-1==e.indexOf("out of memory")&&-1==e.indexOf("could not allocate memory")||(e="The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings."),alert(e),x.didShowErrorMessage=!0)))}function S(e,t){if("symbolsUrl"!=e){var n=u.downloadProgress[e],r=(n=n||(u.downloadProgress[e]={started:!1,finished:!1,lengthComputable:!1,total:0,loaded:0}),"object"!=typeof t||"progress"!=t.type&&"load"!=t.type||(n.started||(n.started=!0,n.lengthComputable=t.lengthComputable),n.total=t.total,n.loaded=t.loaded,"load"==t.type&&(n.finished=!0)),0),o=0,a=0,i=0,s=0;for(e in u.downloadProgress){if(!(n=u.downloadProgress[e]).started)return;a++,n.lengthComputable?(r+=n.loaded,o+=n.total,i++):n.finished||s++}l(.9*(a?(a-s-(o?i*(o-r)/o:0))/a:0))}}function C(){var e=this;this.isConnected=this.connect().then(function(){return e.cleanUpCache()}),this.isConnected.catch(function(e){e="Error when initializing cache: "+e,console.log("[UnityCache] "+e)})}function E(e){console.log("[UnityCache] "+e)}function U(e){return U.link=U.link||document.createElement("a"),U.link.href=e,U.link.href}u.SystemInfo=function(){var e,t,n,r,o=navigator.userAgent+" ",a=[["Firefox","Firefox"],["OPR","Opera"],["Edg","Edge"],["SamsungBrowser","Samsung Browser"],["Trident","Internet Explorer"],["MSIE","Internet Explorer"],["Chrome","Chrome"],["CriOS","Chrome on iOS Safari"],["FxiOS","Firefox on iOS Safari"],["Safari","Safari"]];function i(e,t,n){return(e=RegExp(e,"i").exec(t))&&e[n]}for(var s=0;s>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return d(e,e.length)},n.binstring2buf=function(e){for(var t=new l.Buf8(e.length),n=0,r=t.length;n>10&1023,a[i++]=56320|1023&n)}return d(a,i)},n.utf8border=function(e,t){for(var n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+c[e[n]]>t?n:t}},"zlib/inflate.js":function(e,t,n){"use strict";var T=e("../utils/common"),R=e("./adler32"),P=e("./crc32"),I=e("./inffast"),L=e("./inftrees"),z=0,O=-2,N=1,r=852,o=592;function F(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function a(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=N,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new T.Buf32(r),t.distcode=t.distdyn=new T.Buf32(o),t.sane=1,t.back=-1,z):O}function s(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,i(e)):O}function l(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=e.wsize?(T.arraySet(e.window,t,n-e.wsize,e.wsize,0),e.wnext=0,e.whave=e.wsize):(r<(o=e.wsize-e.wnext)&&(o=r),T.arraySet(e.window,t,n-r,o,e.wnext),(r-=o)?(T.arraySet(e.window,t,n-r,r,0),e.wnext=r,e.whave=e.wsize):(e.wnext+=o,e.wnext===e.wsize&&(e.wnext=0),e.whave>>8&255,n.check=P(n.check,U,2,0),d=c=0,n.mode=2;else if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31)e.msg="incorrect header check",n.mode=30;else if(8!=(15&c))e.msg="unknown compression method",n.mode=30;else{if(d-=4,_=8+(15&(c>>>=4)),0===n.wbits)n.wbits=_;else if(_>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<_,e.adler=n.check=1,n.mode=512&c?10:12,d=c=0}}break;case 2:for(;d<16;){if(0===s)break e;s--,c+=r[a++]<>8&1),512&n.flags&&(U[0]=255&c,U[1]=c>>>8&255,n.check=P(n.check,U,2,0)),d=c=0,n.mode=3;case 3:for(;d<32;){if(0===s)break e;s--,c+=r[a++]<>>8&255,U[2]=c>>>16&255,U[3]=c>>>24&255,n.check=P(n.check,U,4,0)),d=c=0,n.mode=4;case 4:for(;d<16;){if(0===s)break e;s--,c+=r[a++]<>8),512&n.flags&&(U[0]=255&c,U[1]=c>>>8&255,n.check=P(n.check,U,2,0)),d=c=0,n.mode=5;case 5:if(1024&n.flags){for(;d<16;){if(0===s)break e;s--,c+=r[a++]<>>8&255,n.check=P(n.check,U,2,0)),d=c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=s<(h=n.length)?s:h)&&(n.head&&(_=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),T.arraySet(n.head.extra,r,a,h,_)),512&n.flags&&(n.check=P(n.check,r,h,a)),s-=h,a+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;for(h=0;_=r[a+h++],n.head&&_&&n.length<65536&&(n.head.name+=String.fromCharCode(_)),_&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;d<32;){if(0===s)break e;s--,c+=r[a++]<>>=7&d,d-=7&d,n.mode=27;else{for(;d<3;){if(0===s)break e;s--,c+=r[a++]<>>=1)){case 0:n.mode=14;break;case 1:var B,B=A=void 0,A=n;if(Z){for(M=new T.Buf32(512),H=new T.Buf32(32),B=0;B<144;)A.lens[B++]=8;for(;B<256;)A.lens[B++]=9;for(;B<280;)A.lens[B++]=7;for(;B<288;)A.lens[B++]=8;for(L(1,A.lens,0,288,M,0,A.work,{bits:9}),B=0;B<32;)A.lens[B++]=5;L(2,A.lens,0,32,H,0,A.work,{bits:5}),Z=!1}if(A.lencode=M,A.lenbits=9,A.distcode=H,A.distbits=5,n.mode=20,6!==t)break;c>>>=2,d-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}c>>>=2,d-=2}break;case 14:for(c>>>=7&d,d-=7&d;d<32;){if(0===s)break e;s--,c+=r[a++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&c,d=c=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(h=n.length){if(0===(h=l<(h=s>>=5,d-=5,n.ndist=1+(31&c),c>>>=5,d-=5,n.ncode=4+(15&c),c>>>=4,d-=4,286>>=3,d-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},x=L(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,x){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,w=65535&E,!((p=E>>>24)<=d);){if(0===s)break e;s--,c+=r[a++]<>>=p,d-=p,n.lens[n.have++]=w;else{if(16===w){for(C=p+2;d>>=p,d-=p,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}_=n.lens[n.have-1],h=3+(3&c),c>>>=2,d-=2}else if(17===w){for(C=p+3;d>>=p)),c>>>=3,d=d-p-3}else{for(C=p+7;d>>=p)),c>>>=7,d=d-p-7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=_}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,S={bits:n.lenbits},x=L(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,x){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},x=L(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,x){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=s&&258<=l){e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=d,I(e,f),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,c=n.hold,d=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;g=(E=n.lencode[c&(1<>>16&255,w=65535&E,!((p=E>>>24)<=d);){if(0===s)break e;s--,c+=r[a++]<>v)])>>>16&255,w=65535&E,!(v+(p=E>>>24)<=d);){if(0===s)break e;s--,c+=r[a++]<>>=v,d-=v,n.back+=v}if(c>>>=p,d-=p,n.back+=p,n.length=w,0===g){n.mode=26;break}if(32&g){n.back=-1,n.mode=12;break}if(64&g){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&g,n.mode=22;case 22:if(n.extra){for(C=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;g=(E=n.distcode[c&(1<>>16&255,w=65535&E,!((p=E>>>24)<=d);){if(0===s)break e;s--,c+=r[a++]<>v)])>>>16&255,w=65535&E,!(v+(p=E>>>24)<=d);){if(0===s)break e;s--,c+=r[a++]<>>=v,d-=v,n.back+=v}if(c>>>=p,d-=p,n.back+=p,64&g){e.msg="invalid distance code",n.mode=30;break}n.offset=w,n.extra=15&g,n.mode=24;case 24:if(n.extra){for(C=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===l)break e;if(n.offset>(h=f-l)){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}m=h>n.wnext?(h-=n.wnext,n.wsize-h):n.wnext-h,h>n.length&&(h=n.length),b=n.window}else b=o,m=i-n.offset,h=n.length;for(l-=h=l>>16&65535|0,i=0;0!==n;){for(n-=i=2e3>>1:n>>>1;e[t]=n}return e}();t.exports=function(e,t,n,r){var o=s,a=r+n;e^=-1;for(var i=r;i>>8^o[255&(e^t[i])];return-1^e}},"zlib/inffast.js":function(e,t,n){"use strict";t.exports=function(e,t){var n,r,o,a,i,s,l=e.state,c=e.next_in,d=e.input,u=c+(e.avail_in-5),f=e.next_out,h=e.output,m=f-(t-e.avail_out),b=f+(e.avail_out-257),p=l.dmax,g=l.wsize,w=l.whave,v=l.wnext,y=l.window,k=l.hold,_=l.bits,x=l.lencode,S=l.distcode,C=(1<>>=r=n>>>24,_-=r,0==(r=n>>>16&255))h[f++]=65535&n;else{if(!(16&r)){if(0==(64&r)){n=x[(65535&n)+(k&(1<>>=r,_-=r),_<15&&(k+=d[c++]<<_,_+=8,k+=d[c++]<<_,_+=8),n=S[k&E];;){if(k>>>=r=n>>>24,_-=r,!(16&(r=n>>>16&255))){if(0==(64&r)){n=S[(65535&n)+(k&(1<>>=r,_-=r,(r=f-m)>3)<<3))-1,e.next_in=c-=o,e.next_out=f,e.avail_in=ch?(b=R[P+i[v]],D[B+i[v]]):(b=96,0),l=1<<(m=w-S),y=c=1<>S)+(c-=l)]=m<<24|b<<16|p|0,0!==c;);for(l=1<>=1;if(U=0!==l?(U&l-1)+l:0,v++,0==--A[w]){if(w===k)break;w=t[n+i[v]]}if(_e.length||31!=e[0]||139!=e[1])return!1;var r=e[3];if(4&r){if(t+2>e.length)return!1;if((t+=2+e[t]+(e[t+1]<<8))>e.length)return!1}if(8&r){for(;te.length)return!1;t++}return 16&r&&String.fromCharCode.apply(null,e.subarray(t,t+n.length+1))==n+"\0"}}};function B(n){S(n);var e=u.cacheControl(u[n]),t=u.companyName&&u.productName?u.cachedFetch:u.fetchWithProgress,r=u[n],r=/file:\/\//.exec(r)?"same-origin":void 0;return t(u[n],{method:"GET",companyName:u.companyName,productName:u.productName,productVersion:u.productVersion,control:e,mode:r,onProgress:function(e){S(n,e)}}).then(function(e){return i=e.parsedBody,s=u[n],new Promise(function(e,t){try{for(var n in D){var r,o,a;if(D[n].hasUnityMarker(i))return s&&console.log('You can reduce startup time if you configure your web server to add "Content-Encoding: '+n+'" response header when serving "'+s+'" file.'),(r=D[n]).worker||(o=URL.createObjectURL(new Blob(["this.require = ",r.require.toString(),"; this.decompress = ",r.decompress.toString(),"; this.onmessage = ",function(e){e={id:e.data.id,decompressed:this.decompress(e.data.compressed)};postMessage(e,e.decompressed?[e.decompressed.buffer]:[])}.toString(),"; postMessage({ ready: true });"],{type:"application/javascript"})),r.worker=new Worker(o),r.worker.onmessage=function(e){e.data.ready?URL.revokeObjectURL(o):(this.callbacks[e.data.id](e.data.decompressed),delete this.callbacks[e.data.id])},r.worker.callbacks={},r.worker.nextCallbackId=0),a=r.worker.nextCallbackId++,r.worker.callbacks[a]=e,void r.worker.postMessage({id:a,compressed:i},[i.buffer])}e(i)}catch(e){t(e)}});var i,s}).catch(function(e){var t="Failed to download file "+u[n];"file:"==location.protocol?c(t+". Loading web pages via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host Unity content, or use the Unity Build and Run option.","error"):console.error(t)})}function A(){Promise.all([B("frameworkUrl").then(function(e){var s=URL.createObjectURL(new Blob([e],{type:"application/javascript"}));return new Promise(function(a,e){var i=document.createElement("script");i.src=s,i.onload=function(){if("undefined"==typeof unityFramework||!unityFramework){var e,t=[["br","br"],["gz","gzip"]];for(e in t){var n,r=t[e];if(u.frameworkUrl.endsWith("."+r[0]))return n="Unable to parse "+u.frameworkUrl+"!","file:"==location.protocol?void c(n+" Loading pre-compressed (brotli or gzip) content via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host compressed Unity content, or use the Unity Build and Run option.","error"):(n+=' This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: '+r[1]+'" present. Check browser Console and Devtools Network tab to debug.',"br"==r[0]&&"http:"==location.protocol&&(r=-1!=["localhost","127.0.0.1"].indexOf(location.hostname)?"":"Migrate your server to use HTTPS.",n=/Firefox/.test(navigator.userAgent)?"Unable to parse "+u.frameworkUrl+'!
If using custom web server, verify that web server is sending .br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported in Firefox over HTTP connections. '+r+' See https://bugzilla.mozilla.org/show_bug.cgi?id=1670675 for more information.':"Unable to parse "+u.frameworkUrl+'!
If using custom web server, verify that web server is sending .br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported over HTTP connections. Migrate your server to use HTTPS.'),void c(n,"error"))}c("Unable to parse "+u.frameworkUrl+"! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)","error")}var o=unityFramework;unityFramework=null,i.onload=null,URL.revokeObjectURL(s),a(o)},i.onerror=function(e){c("Unable to load file "+u.frameworkUrl+"! Check that the file exists on the remote server. (also check browser Console and Devtools Network tab to debug)","error")},document.body.appendChild(i),u.deinitializers.push(function(){document.body.removeChild(i)})})}),B("codeUrl")]).then(function(e){u.wasmBinary=e[1],e[0](u)});var e=B("dataUrl");u.preRun.push(function(){u.addRunDependency("dataUrl"),e.then(function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0,r="UnityWebData1.0\0";if(!String.fromCharCode.apply(null,e.subarray(n,n+r.length))==r)throw"unknown data format";var o=t.getUint32(n+=r.length,!0);for(n+=4;n - - - - - Unity WebGL Player | U3D_TobaccoWarehouseISMDTSystem - - - - - -
- -
- -
-
+ + + + Unity WebGL Player | U3D_TobaccoWarehouseISMDTSystem + + + + +
+ +
+ +
+
+
+
+
+
-
- -
- - + document.body.appendChild(script); - \ No newline at end of file + + + diff --git a/public/Hoister/index1.html b/public/Hoister/index1.html index 06c121f..3d18f35 100644 --- a/public/Hoister/index1.html +++ b/public/Hoister/index1.html @@ -104,7 +104,7 @@ script.src = loaderUrl; script.onload = () => { createUnityInstance(canvas, config, (progress) => { - // progressBarFull.style.width = 100 * progress + "%"; + // progressBarFull.style.width = 100 * progress + "%"; // window.parent.getProgress(progress); }).then((unityInstance) => { unity = unityInstance @@ -116,22 +116,48 @@ alert(message); }); }; - //切换模型 - function changeModel(data){ - unity.SendMessage('Controller','Displaymodel',data) - } - function open(){ - unity.SendMessage('提升机','Unfold') - } - function close(){ - unity.SendMessage('提升机','Restore') - } - function opencar(){ - unity.SendMessage('AGV','Unfold') - } - function closecar(){ - unity.SendMessage('AGV','Restore') - } + //切换小车 + function changeShuttlebus(data) { + unity.SendMessage('GameObject', 'Shuttlebus', data) + } + //提升机1 + function changeHoister(data) { + unity.SendMessage('GameObject', 'Hoister', data) + } + //提升机2 + function changeHoister2(data) { + unity.SendMessage('GameObject', 'Hoister2', data) + } + //快换电池 + function changeBattery(data) { + unity.SendMessage('GameObject', 'Battery', data) + } + // function open() { + // unity.SendMessage('GameObject', 'Unfold') + // } + // function close() { + // unity.SendMessage('提升机', 'Restore') + // } + //大模型爆炸 + function opencar() { + unity.SendMessage('GameObject', 'Explode') + } + //大模型还原 + function closecar() { + unity.SendMessage('GameObject', 'ResetPositions') + } + //小模型爆炸 + function openSmall() { + unity.SendMessage('GameObject', 'Blowup') + } + //小模型还原 + function closeSmall() { + unity.SendMessage('GameObject', 'Restore') + } + //接收状态 + function modelStatus(val) { + window.parent.modelStatus(val) + } document.body.appendChild(script); diff --git a/public/Hoister/web.config b/public/Hoister/web.config deleted file mode 100644 index 584bbc4..0000000 --- a/public/Hoister/web.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/model/Build/webgl.data.unityweb b/public/model/Build/webgl.data.unityweb index 6d520d6..d581073 100644 Binary files a/public/model/Build/webgl.data.unityweb and b/public/model/Build/webgl.data.unityweb differ diff --git a/public/model/Build/webgl.framework.js.unityweb b/public/model/Build/webgl.framework.js.unityweb index 22905bc..dc0cded 100644 Binary files a/public/model/Build/webgl.framework.js.unityweb and b/public/model/Build/webgl.framework.js.unityweb differ diff --git a/public/model/Build/webgl.wasm.unityweb b/public/model/Build/webgl.wasm.unityweb index c2ced93..ee58548 100644 Binary files a/public/model/Build/webgl.wasm.unityweb and b/public/model/Build/webgl.wasm.unityweb differ diff --git a/public/model/StreamingAssets/IPPort.txt b/public/model/StreamingAssets/IPPort.txt index 2869def..70746c2 100644 --- a/public/model/StreamingAssets/IPPort.txt +++ b/public/model/StreamingAssets/IPPort.txt @@ -1 +1 @@ -172.16.1.106:5005 \ No newline at end of file +172.16.1.117:5005 \ No newline at end of file diff --git a/public/model/index.html b/public/model/index.html index 5662322..c5769a4 100644 --- a/public/model/index.html +++ b/public/model/index.html @@ -1,6 +1,5 @@ - @@ -16,218 +15,219 @@ overflow: hidden; } - -
- -
- -
-
-
-
-
- -
+
-
+
@@ -96,7 +96,7 @@
-
+
维修统计 - + + +
@@ -97,6 +99,7 @@ @close="receiveMsg" v-if="maintenanceDialogShow" :title="dialogTitle" + :hideSelect="hideSelect" />