Skip to content

saveBrowserPrefab beta ​

Function of @v12-engine/client

ts
export declare function saveBrowserPrefab(game: string, name: string, clip: unknown, storage?: KeptStorage): Promise<void>;

Saves a prefab's clip in the browser for a game under its name, replacing one of that name; does nothing where there is no IndexedDB