checheche/Robo-Bus-A31-HMI/common/tool/load_id_tool.gd
2024-12-06 21:22:11 +08:00

10 lines
125 B
GDScript

class_name LoadIdTool
extends Node
static func get_data(data,id):
if data.has(id):
return data[id]
else:
return null