Fix hybrid app support detection for the Android editor
This commit is contained in:
parent
1559ab34c6
commit
185a4abcb5
4 changed files with 6 additions and 8 deletions
|
|
@ -104,8 +104,8 @@ abstract class BaseGodotGame: GodotEditor() {
|
|||
@CallSuper
|
||||
override fun supportsFeature(featureTag: String): Boolean {
|
||||
if (HYBRID_APP_FEATURE == featureTag) {
|
||||
// Check if hybrid is enabled
|
||||
return isHybridAppEnabled()
|
||||
// Check if hybrid is enabled.
|
||||
return godot?.isXrRuntime == true && isHybridAppEnabled()
|
||||
}
|
||||
|
||||
return super.supportsFeature(featureTag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue