mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
15 lines
256 B
GDScript
15 lines
256 B
GDScript
extends ScrollContainer
|
|
|
|
|
|
export(bool) var auto_scroll = false setget set_auto_scroll
|
|
|
|
|
|
func _process(_delta):
|
|
if auto_scroll:
|
|
var scrollbar = get_v_scrollbar()
|
|
scrollbar.value = scrollbar.max_value
|
|
|
|
|
|
func set_auto_scroll(value):
|
|
auto_scroll = value
|