Is there a way to use the [br] function in @choice?

Posted: 27 Oct 2022 05:58
by booksuny

Code: Select all

@choice "2Restoration[br]({SAM}remaining potion)" handler:ButtonArea button:MapButtons/att pos:0,-150 goto:.Heal

I want to make a choice button divided into two lines. I thought I made a button in the UI and finished all preparations, but I am embarrassed because [br] is not applied in the choice.

Is there a way to divide the choice phrase into two lines?


Re: Is there a way to use the [br] function in @choice?

Posted: 27 Oct 2022 07:54
by idaot

It should be possible by converting the button to use TextMeshPro instead of Unity text and using <br>.


Re: Is there a way to use the [br] function in @choice?

Posted: 27 Oct 2022 08:44
by booksuny

Thank you for your quick response as always.