immersive-home/app/lib/utils/update_attributes.gd
2024-03-21 13:29:10 +01:00

6 lines
123 B
GDScript

class_name Update
static func props(node: Node, prop_names=[]):
for prop in prop_names:
node.set(prop, node.get(prop))