Chris, thanks for prompt reply: you gave me an idea - which help...
(1) Found the mistake in my code. To proper scale into Camera's viewport my solution now looks this:
Vector2 slotCentre = myMenu.GetSlotCentre(myInventoryBox, dummySlotInde…
Trying to do the same thing (v. 1.69.2), but with no luck.
For example in Game Tab (Unity Editor) screen set to 800x480:
Vector2 slotCentre = myMenu.GetSlotCentre (myInventoryBox, 3);
return 728.0, 30.4. But this is almost opposite to the real posi…