8 lines
170 B
GDScript
8 lines
170 B
GDScript
@tool
|
|
extends Node2D
|
|
|
|
func _init_station_name_and_position(sn, sen, i):
|
|
$StationName/Name.text = sn
|
|
$StationName/EnName.text = sen
|
|
self.translate(Vector2(100 * i, 0))
|