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.

8 lines (7 loc) 512 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useUnityContext = exports.Unity = void 0; var unity_component_1 = require("./components/unity-component"); Object.defineProperty(exports, "Unity", { enumerable: true, get: function () { return unity_component_1.Unity; } }); var use_unity_context_1 = require("./hooks/use-unity-context"); Object.defineProperty(exports, "useUnityContext", { enumerable: true, get: function () { return use_unity_context_1.useUnityContext; } });