2024-01-26 00:29:05 +01:00

6 lines
127 B
GDScript

class_name Player
extends Character
func set_character_name(new_name: String):
name = new_name
get_node("Label").text = name