add color picker
This commit is contained in:
parent
11aa4c90de
commit
bcf29d506b
1 changed files with 6 additions and 0 deletions
6
scripts/color_picker_button.gd
Normal file
6
scripts/color_picker_button.gd
Normal file
|
@ -0,0 +1,6 @@
|
|||
extends ColorPickerButton
|
||||
|
||||
@export var toChangeNode:Node2D
|
||||
|
||||
func _on_color_changed(color: Color) -> void:
|
||||
toChangeNode.modulate=color
|
Loading…
Add table
Reference in a new issue