10 lines
125 B
GDScript
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
|