17 lines
475 B
GDScript3
17 lines
475 B
GDScript3
extends WindowDialog
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = "text"
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
#func _process(delta):
|
|
# pass
|
|
|
|
|
|
func _on_color_picker_button_color_changed(color):
|
|
get_parent().get_node( "world_environment" ).environment.background_sky.sky_top_color = color
|