Improve style in many demos (#1263)

This commit is contained in:
Aaron Franke
2025-10-11 05:03:59 -07:00
committed by GitHub
parent 0ae09b7e5a
commit 520b4a7870
197 changed files with 904 additions and 766 deletions

View File

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