mirror of
https://github.com/thecatontheceiling/buckshotroulette-decomp.git
synced 2024-11-25 15:07:21 +00:00
10 lines
287 B
GDScript3
10 lines
287 B
GDScript3
|
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
|