Improved signal handling

This commit is contained in:
2024-02-06 15:51:48 +01:00
parent 4e5b908f05
commit 4ad50e75db
13 changed files with 65 additions and 32 deletions

View File

@ -1,12 +1,21 @@
extends Node
@export var environment: Environment
@export var camera_attributes: CameraAttributesPractical
var camera: Camera3D
var player: Player
var viewport: Viewport
var window: Window
var players: PlayerManager
var account_id: String
var auth_token: String
var interacting_with_ui: bool
var instance_id: int
var username: String
var environment: Environment
var camera_attributes: CameraAttributesPractical
func _enter_tree():
instance_id = OS.get_process_id() % 4
username = "user%d" % instance_id
viewport = get_viewport()
window = get_window()