Simplified Network manager WIP
This commit is contained in:
+3
-3
@@ -6,15 +6,15 @@ const GAME_MANAGER = preload("res://scripts/game_manager.gd")
|
||||
var xr_interface :XRInterface
|
||||
|
||||
func _ready():
|
||||
print("main: _ready")
|
||||
print("Main _ready")
|
||||
RECIPE_MANAGER.print_all_recipes()
|
||||
|
||||
GAME_MANAGER.meals_in_play = ["hamburger"]
|
||||
|
||||
xr_interface = XRServer.find_interface("OpenXR")
|
||||
if xr_interface and xr_interface.is_initialized():
|
||||
print("OpenXR started :)")
|
||||
print("Main OpenXR started :)")
|
||||
DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)
|
||||
get_viewport().use_xr = true
|
||||
else:
|
||||
print("OpenXR failed to start. Check your headset...")
|
||||
print("Main OpenXR failed to start. Check your headset...")
|
||||
|
||||
Reference in New Issue
Block a user