added new track editor ui
This commit is contained in:
@@ -4,7 +4,10 @@ extends VBoxContainer
|
||||
@export var icon: TextureRect
|
||||
@export var name_label: Label
|
||||
|
||||
var feature: Feature
|
||||
|
||||
func set_feature(feature: Feature) -> void:
|
||||
|
||||
func set_feature(new_feature: Feature) -> void:
|
||||
feature = new_feature
|
||||
icon.texture = feature.icon
|
||||
name_label.text = tr(feature.display_name)
|
||||
|
||||
Reference in New Issue
Block a user