This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Jessist/Dialog/dialog/menu_item.gd

10 lines
177 B
GDScript3
Raw Normal View History

2022-06-18 13:05:48 +02:00
extends RichTextLabel
var is_allowed: bool = true setget set_is_allowed
func set_is_allowed(value: bool) -> void:
is_allowed = value
modulate.a = 1 if is_allowed else 0.3