mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
20 lines (18 loc) • 674 B
text/typescript
import useRaycastPlay from "./useRaycastPlay"
import useRaycastPath from "./useRaycastPath"
import useRaycastEdit from "./useRaycastEdit"
import { createEffect } from "@lincode/reactivity"
import { getEditing } from "../../../../states/useEditing"
import { getEditorMode } from "../../../../states/useEditorMode"
import { getMultipleSelection } from "../../../../states/useMultipleSelection"
import { getTransformControlsDragging } from "../../../../states/useTransformControlsDragging"
createEffect(() => {
useRaycastPlay()
useRaycastPath()
useRaycastEdit()
}, [
getEditing,
getEditorMode,
getTransformControlsDragging,
getMultipleSelection
])