1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-20 10:09:48 +00:00
Pixelorama/src/UI/PatternButton.gd
2020-09-27 20:35:46 +03:00

9 lines
150 B
GDScript

extends BaseButton
var pattern := Patterns.Pattern.new()
func _on_PatternButton_pressed() -> void:
Global.patterns_popup.select_pattern(pattern)