mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +01:00
Improve style in many demos (#1263)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
extends Node3D
|
||||
|
||||
|
||||
@onready var option_button: OptionButton = $CanvasLayer/VBoxContainer/HBoxContainer/OptionButton
|
||||
@onready var texture_rect: TextureRect = $CanvasLayer/VBoxContainer/TextureRect
|
||||
@onready var camera: Camera3D = $Camera3D
|
||||
@@ -9,6 +10,7 @@ extends Node3D
|
||||
|
||||
var xr_interface: MobileVRInterface
|
||||
|
||||
|
||||
func _set_xr_mode() -> void:
|
||||
var vrs_mode := get_viewport().vrs_mode
|
||||
if vrs_mode == Viewport.VRS_XR:
|
||||
|
||||
Reference in New Issue
Block a user