Files
seeding-planets/gui/game/card/scripts/card_section_info.gd

14 lines
325 B
GDScript

extends Resource
class_name CardSectionInfo
@export var color : Color = Color('2364aaff')
@export var title_text : String = ""
@export var title_icon : Texture = null
@export_multiline var text : String = ""
func _init(
_title_text : String = "",
_text : String = ""
):
title_text = _title_text
text = _text