mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 19:11:33 +00:00
Disable some editor settings by default in the XR Editor
This commit is contained in:
parent
5675c76461
commit
16e1d8a81b
5 changed files with 36 additions and 4 deletions
|
|
@ -511,4 +511,12 @@ abstract class BaseGodotEditor : GodotActivity() {
|
|||
val godot = godot ?: return Error.ERR_UNCONFIGURED
|
||||
return verifyApk(godot.fileAccessHandler, apkPath)
|
||||
}
|
||||
|
||||
override fun supportsFeature(featureTag: String): Boolean {
|
||||
if (featureTag == "xr_editor") {
|
||||
return isNativeXRDevice();
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue