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.

28 lines 855 B
/** * The cache control mode determines how the Unity should cache the resource. * - `must-revalidate`: The cache returns to an enabled state and the file is * revalidated before being loaded from the cache. * - `immutable`: the cache is enabled and the file is loaded from the cache * without revalidation. * - `no-store`: The cache is disabled. */ type UnityCacheControlMode = /** * The cache returns to an enabled state and the file is revalidated before * being loaded from the cache. */ "must-revalidate" /** * the cache is enabled and the file is loaded from the cache without revalidation. */ | "immutable" /** * The cache is disabled. */ | "no-store" /** * Fallback for when the cache control mode is not recognized. */ | string; export type { UnityCacheControlMode }; //# sourceMappingURL=unity-cache-control-mode.d.ts.map