Input ASCII code character (or unicode) in RichTextLabel

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By justin

I know about: Type character from ascii code - Archive - Godot Forum

But I can’t seem to use RawArray

The method “RawArray” isn’t declared in the current class.

So I assume that’s for an older version of Godot (it was answered in 2016 after all).

I’m just starting out and want to make a simple Blackjack game as an exercise. I need to input the heart, club etc… symbols on a make shift card - dynamically because I obviously only want one Card.tscn.

I want to instance the Card (trying out extends RichTextLabel first) and pass in its value. How do you suggest I pass in the ascii or unicode value at time of new Card creation?

e.g. unicode values: