UNPKG

react-unity-webgl

Version:

React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.

11 lines 699 B
import { UnityArguments } from "./unity-arguments"; type UnityConfig = Pick<UnityArguments, "dataUrl" | "frameworkUrl" | "codeUrl" | "workerUrl" | "streamingAssetsUrl" | "memoryUrl" | "symbolsUrl" | "companyName" | "productName" | "productVersion" | "webglContextAttributes" | "cacheControl" | "autoSyncPersistentDataPath"> & { /** * The url to the build json file generated by Unity. When using a relative url, * keep in mind this is relative from the path where your html file is served. * It is also possible to use an absolute url, for example when using a CDN. */ readonly loaderUrl: string; }; export type { UnityConfig }; //# sourceMappingURL=unity-config.d.ts.map