Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Last active May 1, 2022 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flushpot1125/1feb9441da5a10cd4a0287dc30e1952b to your computer and use it in GitHub Desktop.
Save flushpot1125/1feb9441da5a10cd4a0287dc30e1952b to your computer and use it in GitHub Desktop.
//Game Title GUI
let GameTitleGUITexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("GUI", true, scene);
let GameTitleLoadedGUI = await GameTitleGUITexture.parseFromURLAsync("./GameTitleGUI.json");
//Game setting GUI
let GameSettingGUITexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("GUI", true, scene);
let GameSettingLoadedGUI = await GameSettingGUITexture.parseFromURLAsync("./GameSettingGUI.json");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment