View ShrinkingScrollContainer.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tool | |
extends Node | |
class_name ShrinkingScrollContainer | |
onready var scroll_container := get_parent() as ScrollContainer | |
export var _scroll_container_contents:NodePath setget set_scroll_container_contents_path | |
onready var scroll_container_contents := get_node_or_null(_scroll_container_contents) as Control | |
export var start_scrolling_at := Vector2.ZERO |
View MatchRectSize.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tool | |
extends Node | |
class_name MatchRectSize | |
onready var parent := get_parent() as Control | |
export(NodePath) var target_control | |
onready var target := get_node(target_control) as Control | |
export var match_x := true | |
export var match_y := true |