device buttons image in dialogues
Posted: Mon Jul 27, 2015 7:45 am
Hi Tony,
I would like to put some icons inline in the dialogue text according to the console, for example "press <action1 ... /> to attack".
I'm making a research for put the icons inline but i would like to know if i can parse this stuff in the normal flow of the logic, some method that i can override or something like that or a need to make my own Parser and call before the base.showSubtitle(...) in my UnityUIDialogueUI.cs.
The main idea is to use a generic custom tag like <action1 ... /> and according the console show the device button icon if XBOX show "A" icon, if is PS "X" icon, ...
thanks so much for the help
I would like to put some icons inline in the dialogue text according to the console, for example "press <action1 ... /> to attack".
I'm making a research for put the icons inline but i would like to know if i can parse this stuff in the normal flow of the logic, some method that i can override or something like that or a need to make my own Parser and call before the base.showSubtitle(...) in my UnityUIDialogueUI.cs.
The main idea is to use a generic custom tag like <action1 ... /> and according the console show the device button icon if XBOX show "A" icon, if is PS "X" icon, ...
thanks so much for the help