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 • 525 B
TypeScript
import { UnityArguments } from "../types/unity-arguments";
import { UnityProps } from "../types/unity-props";
/**
* Creates a memoized Unity Arguments object which can be passed to the Unity
* instance in order to initialize it.
* @param unityProps The Unity props provided the the Unity component.
* @returns The Unity arguments to pass to the Unity instance.
*/
declare const useUnityArguments: (unityProps: UnityProps) => UnityArguments;
export { useUnityArguments };
//# sourceMappingURL=use-unity-arguments.d.ts.map