mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-24 17:14:22 +00:00
14 lines
324 B
GDScript
14 lines
324 B
GDScript
extends Node2D
|
|
|
|
|
|
var randomize_start_position: bool setget set_randomize_start_position
|
|
|
|
func set_randomize_start_position(value):
|
|
for children in get_children():
|
|
children.randomize_start_position = value
|
|
|
|
|
|
func _on_ConveyorBelt_cb_speed_changed(_old, new):
|
|
for children in get_children():
|
|
children.set_cb_speed(new)
|
|
|