immersive-home/app/lib/utils/update_attributes.gd

6 lines
123 B
GDScript3
Raw Permalink Normal View History

2024-03-21 14:29:10 +02:00
class_name Update
static func props(node: Node, prop_names=[]):
for prop in prop_names:
node.set(prop, node.get(prop))