Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
hello! I need of put a text centerd in a "2Doverlay", but I can only put the text to left, there is effectly a solution for that? Thank you! |
||||
|
You can change the Alignment property of the 2D Overlay to center. It should be that way by default. Maybe you changed it? |
||||
|
never worked with C6, if I put it in the center I always see it on the left |
||||
|
Does your settings look like this? |
||||
|
I'm sorry, I forgot to mention that my text is multiline, and I need a centered text Are there scripts or similar to intervene externally in some way? Thank you for the time spent for me |
||||
|
You would have to do so in JavaScript I believe. I'm not sure what you are doing, but you can format strings in different ways via code. Here's a small example:
You can learn more at: https://www.w3schools.com/js/js_... |
||||
|
Cool! I'm trying this example, but the text doesn't view in multiline I am saddened that I can’t get it to work :( |
||||
|
So I see the text with the script |
||||
|
Here's an example ccb of the code above: https://files.catbox.moe/2mlu5h.... |
||||
|
ok, I figured out what the problem is, is that I’m exporting in webgl, and it doesn’t work unfortunately :( Only work by exporting . exe , but I need to export in webgl Thank you for your file! too kind. |
|