UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

8 lines 330 B
import { event } from "@lincode/events"; import { getWorldPlayComputed } from "../states/useWorldPlayComputed"; const [_emitLoop, onLoop] = event(); export { onLoop }; let worldPlay = true; getWorldPlayComputed((val) => (worldPlay = val)); export const emitLoop = () => worldPlay && _emitLoop(); //# sourceMappingURL=onLoop.js.map