9 lines
112 B
GDScript
9 lines
112 B
GDScript
@tool
|
|
extends Node
|
|
|
|
|
|
func _ready():
|
|
if not Engine.is_editor_hint() and has_node("UI"):
|
|
$UI.player = $Player
|
|
|