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.
26 lines (25 loc) • 747 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnityLoaderStatus = void 0;
/**
* The status of the Unity loader.
*/
var UnityLoaderStatus;
(function (UnityLoaderStatus) {
/**
* The Unity loader is idling and awaiting a resource it be loaded.
*/
UnityLoaderStatus["Idle"] = "Idle";
/**
* The Unity loader is loading a resource.
*/
UnityLoaderStatus["Loading"] = "Loading";
/**
* The Unity loader has loaded a resource.
*/
UnityLoaderStatus["Loaded"] = "Loaded";
/**
* The Unity loader has failed to load a resource.
*/
UnityLoaderStatus["Error"] = "Error";
})(UnityLoaderStatus || (exports.UnityLoaderStatus = UnityLoaderStatus = {}));