Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Project/scene name as parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEstes committed Jun 13, 2024
1 parent 0c30649 commit 856657d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sceneRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ const Navbar = (props: { header: string }) => {
)
}

export const useRouteScene = () => {
const projectName = 'ee-development-test-suite'
const sceneName = 'Examples.gltf'
export const useRouteScene = (projectName = 'ee-development-test-suite', sceneName = 'Examples.gltf') => {
useLoadScene({ projectName: projectName, sceneName: sceneName })
useNetwork({ online: false })
useLoadEngineWithScene()
Expand Down

0 comments on commit 856657d

Please sign in to comment.