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.
8 lines • 317 B
TypeScript
import { ForwardRefExoticComponent } from "react";
import { UnityProps } from "../types/unity-props";
/**
* Renders the provided Unity Application.
*/
declare const Unity: ForwardRefExoticComponent<UnityProps & React.RefAttributes<HTMLCanvasElement>>;
export { Unity };
//# sourceMappingURL=unity-component.d.ts.map