Scriptable 3D text

Hello everyone, how can I create 3D text that I can edit on the scripts? (Something like Unreal's Text3D component)