Forum rules - please read before posting.

Gather string from unity ui menu?

Hi Chris,

I have a menu with buttons which uses source from Unity UI in scene. And the buttons have text.
It seems that AC can't gather string from text in the unity buttons inside canvas.
And also, using the AC variable token like [var:0] also can't be displayed correctly in text in unity buttons.

So, is it possible to use the translation generated by AC in the text from unity UI? Thanks a lot.

Comments

  • When gathering a menu Button's text, the text gathered will be that of the Button text field inside the Button element's properties in the Menu Manager, rather than the text in the Text UI component.

    If you set this text field to e.g. [var:0] - either by default, or with the Menu: Update content Action, the corresponding UI Text component should display the variable's value - provided the Button component and Button element are linked, and have matching Constant ID values.

    If unsure, share screenshots of the UI Button/Text objects, and the Menu/Button element's properties in the Menu Manager - I'll try to see what's what.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.