This is a menu that appears if I press Enter on the RE4 inventory if an item is selected. I have drawn a thin red rectangle around it:
And here is a video that shows some of the menu's effects.
I am familiar with a simple text canvas. I understand that I need to make each line a separate "Text" object so that I can scroll up and down through them.
Here is what I have so far:
The problem that I'm facing now is that the Canvas will be scaled at runtime. I don't work with fixed values. This is a problem since I don't see how I could easily make it so that each TextLine object fills 33,3% of the canvas.
Am I right to assume that I can only solve this by making a scripts that holds a reference to each TextLine object and which then calculates their position when the scale of Canvas is known?
Or is there any easier solution?
Thank you!