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.

9 lines 366 B
import { UnityLoaderStatus } from "../types/unity-loader-status"; /** * Hook to embed a Unity Loader script. * @param source The source of the unity loader. * @returns a hook that returns the status of the loader. */ declare const useUnityLoader: (loaderUrl: string) => UnityLoaderStatus; export { useUnityLoader }; //# sourceMappingURL=use-unity-loader.d.ts.map