1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Disable some editor settings by default in the XR Editor

This commit is contained in:
devloglogan
2024-09-03 08:38:42 -05:00
parent 5675c76461
commit 16e1d8a81b
5 changed files with 36 additions and 4 deletions

View File

@@ -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
}
}