buckshotroulette-decomp/ChecmarkBranch.gd
Lyssa a86f69ecf1
reverse v1.2.1 changes
goddammit bob
2024-04-10 22:19:04 +04:00

10 lines
287 B
GDScript

class_name Checkmark extends Node
@export var ui : TextureRect
@export var checkmark_active : CompressedTexture2D
@export var checkmark_ianctive : CompressedTexture2D
func UpdateCheckmark(state : bool):
if (state): ui.texture = checkmark_active
else: ui.texture = checkmark_ianctive