cawez_puzzlebox/primitives/init_level.gd

13 lines
319 B
GDScript

extends Node
@export var fractal_amount = 1
@export var fractal_min = 0
@export var fractal_max = 10
@export var gravity = Vector3.DOWN
# Called when the node enters the scene tree for the first time.
func _ready():
Globals.set_global_down(gravity)
Globals.change_fractal(fractal_amount, fractal_min, fractal_max)