0
\$\begingroup\$

I want to make some dynamic text, like it's in europa what's mean, text depends on size of an multiple objects (provinces). Anyone have idea, how it's done in EU4? Depends on size of ur country

\$\endgroup\$
0
\$\begingroup\$

What you are referencing is a Text Mesh I'm not sure what engine you are using but Unity has a package called TextMesh Pro. It allows you to place text into a 3D space.

What you can do, is provide boundaries for this text and the text will only fill within the boundaries you placed. So, for Russia, you would create the boundaries to outline all of Russia the best you could. Then, you can adjust the font size manually, or set it to best-fit and the engine will create it as large as the boundaries will allow it.

You can also do cool stuff to the text, like outlining the text, giving it a shadow, etc.

\$\endgroup\$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.