-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update sample (package.json, scene files)
- Loading branch information
Showing
10 changed files
with
4,006 additions
and
1,110 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import "./register_types.ts" | ||
globalThis["needle:dependencies:ready"] = import("./register_types.ts") | ||
|
||
export const needle_exported_files = new Array(); | ||
globalThis["needle:codegen_files"] = needle_exported_files; | ||
needle_exported_files.push("assets/ReactSample.glb?v=1694716553828"); | ||
needle_exported_files.push("assets/ReactSample.glb?v=1712230995150"); | ||
document.addEventListener("DOMContentLoaded", () => | ||
{ | ||
const needleEngine = document.querySelector("needle-engine"); | ||
if(needleEngine && needleEngine.getAttribute("src") === null) | ||
{ | ||
needleEngine.setAttribute("hash", "1694716553828"); | ||
needleEngine.setAttribute("hash", "1712230995150"); | ||
needleEngine.setAttribute("src", JSON.stringify(needle_exported_files)); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
{ | ||
"needleEditor": null, | ||
"meta": { | ||
"title": "Needle Engine", | ||
"description": "🌵 Made with Needle Engine", | ||
"image": "" | ||
"title": "React Sample", | ||
"description": "Integrate Needle Engine into a react component", | ||
"image": "include/ReactSample.jpg" | ||
}, | ||
"absolutePath": "https://localhost:3000", | ||
"sceneName": "React Sample", | ||
"deployOnly": false, | ||
"generator": "Unity 2021.3.28f1, Needle Engine Integration @3.16.2-pre", | ||
"generator": "Unity 2021.3.33f1, Needle Engine Integration @3.36.2-pre", | ||
"gzip": true, | ||
"allowHotReload": false, | ||
"developmentBuild": false, | ||
"facebookInstantGames": null, | ||
"useRapier": true, | ||
"license": "pro" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters