Add support for WebXR
This commit is contained in:
11
modules/webxr/SCsub
Normal file
11
modules/webxr/SCsub
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
Import("env")
|
||||
Import("env_modules")
|
||||
|
||||
if env["platform"] == "javascript":
|
||||
env.AddJSLibraries(["native/library_godot_webxr.js"])
|
||||
env.AddJSExterns(["native/webxr.externs.js"])
|
||||
|
||||
env_webxr = env_modules.Clone()
|
||||
env_webxr.add_source_files(env.modules_sources, "*.cpp")
|
||||
Reference in New Issue
Block a user