I want to create description item dialog like this and I want to know the best way for create this.
Create canvas[1] and description. And then add to Gold Mine Level 9 (Building GameObject). When touch Gold Mine It’s instantiate canvas[1]. But It’s have many canvas. I am not sure It’s best way.
Example :
Gold Mine 1 And Canvas Description Gold Mine 1
Gold Mine 2 And Canvas Description Gold Mine 2
Gold Mine 3 And Canvas Description Gold Mine 3
Gold Mine 4 And Canvas Description Gold Mine 4
It’s have 4 gameobject with 4 canvas. Or My thinking (How to) is wrong ?
While you could create a canvas or dialog box with everything hardcoded, that is normally not the best way. Unless there is a reason you can’t, normally you have one dialog box and some sort of data(text, json, xml) that you pull info from and change the text/images on your dialog box to reflect what you need it to show.