17 lines
388 B
GDScript
17 lines
388 B
GDScript
extends Node
|
|
|
|
@export var environment: Environment
|
|
@export var camera_attributes: CameraAttributesPractical
|
|
|
|
var camera: Camera3D
|
|
var player: Player
|
|
var players: PlayerManager
|
|
var account_id: String
|
|
var auth_token: String
|
|
var interacting_with_ui: bool
|
|
var instance_id: int
|
|
var username: String
|
|
|
|
func _enter_tree():
|
|
instance_id = OS.get_process_id() % 4
|
|
username = "user%d" % instance_id |