21 lines
480 B
GDScript3
Raw Normal View History

2024-01-16 22:01:16 +00:00
extends Node
2024-02-06 14:51:48 +00:00
@export var environment: Environment
@export var camera_attributes: CameraAttributesPractical
2024-01-16 22:01:16 +00:00
var camera: Camera3D
var player: Player
2024-02-06 14:51:48 +00:00
var viewport: Viewport
var window: Window
2024-01-28 18:18:16 +00:00
var players: PlayerManager
2024-01-26 11:50:46 +00:00
var account_id: String
2024-01-29 11:32:06 +00:00
var auth_token: String
2024-01-28 21:08:08 +00:00
var interacting_with_ui: bool
2024-01-29 11:32:06 +00:00
var instance_id: int
var username: String
2024-02-06 14:51:48 +00:00
func _enter_tree():
instance_id = OS.get_process_id() % 4
username = "user%d" % instance_id
viewport = get_viewport()
window = get_window()