remove hardcoded node references in favor of exported properties
This commit is contained in:
@@ -3,12 +3,13 @@ extends CanvasLayer
|
||||
@export var _side_change_speed: float = 15
|
||||
@export var _screen_inset: float = 100
|
||||
|
||||
@export_group("References")
|
||||
@export var _single_cursor: Control
|
||||
|
||||
var _cursor_scene := preload("res://scenes/ui/cursor_base.tscn")
|
||||
|
||||
var _cursors: Dictionary[int, PlayerCursor]
|
||||
|
||||
@onready var _single_cursor: Control = $CursorBase
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_HIDDEN
|
||||
|
||||
Reference in New Issue
Block a user