Replaced main font with bitmap

This commit is contained in:
2024-05-11 17:08:52 +01:00
parent efcae24df1
commit 7c43fb1bb8
17 changed files with 196 additions and 90 deletions

16
HoverButton.gd Normal file
View File

@@ -0,0 +1,16 @@
extends Button
class_name HoverButton
@export var NormalVariant : String = ""
@export var HoverVariant : String = ""
func _ready() -> void:
mouse_entered.connect(_hover_start)
mouse_exited.connect(_hover_end)
func _hover_start() -> void:
theme_type_variation = HoverVariant
func _hover_end() -> void:
theme_type_variation = NormalVariant