lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
9 lines • 479 B
JavaScript
import store, { createEffect } from "@lincode/reactivity";
import { getEditorModeComputed } from "./useEditorModeComputed";
import { getEditorRuntime } from "./useEditorRuntime";
const [setWorldPlayComputed, getWorldPlayComputed] = store(true);
export { getWorldPlayComputed };
createEffect(() => {
setWorldPlayComputed(getEditorModeComputed() === "play" && !getEditorRuntime());
}, [getEditorModeComputed, getEditorRuntime]);
//# sourceMappingURL=useWorldPlayComputed.js.map