my question may sound a little bit dumb, but after hours of research I couldn’t find a working solution. I created a 3D text object (which is displayed in 2D by default). But I want to add depth to the text (maybe by scaling the z-axis?!). What do I have to do, that it looks something like this?:
I want to change the content of a 3D text object at runtime, so prefabs aren’t a solution for me.
All of the builtin text rendering options in Unity are fundamentally “flat” - they use a texture map to render the text. You’ll have to get a 3rd-party asset to accomplish this most likely - I think TextMeshPro can do this?
If you want to get by without buying an asset, you can export your font as many individual letters, and write your script to place those letters. You’ll be doing a lot of typography programming though…
I could be wrong, I just thought I saw at some point that it had that capability. In any case searching for “3D Text” on the Asset Store gives a bunch of results, at least 2 of which are relevant.