Good day.
i`m making text game for android. pretty new one in unity. Text Adventure game
What i need and what the problem?
Need: text should be scrollable and in the end of text there should be buttons from 1 to 5+ with different text inside from episod to episode(changed by scripts).
Problem: Scrollable Text should contain “content size fitter” for showing ALL text and dont cut it (Vertical fit - prefered size on “text” obj). also “Text” should have upper left “Anchor preset” position to lock text on the upper positions (not in the middle of a text). First problam - if i change screen proportions(from 3:2 to 16:10) to check how it works on others screens - width of the"Text" become incorrect(same as previous). How to make width locked for all Screens?
Second problem - when i add buttons as chield to the same Object as “Text” i also need add Vertical layout group to make buttons shown after text… but adding this layout brake “text” content size fitter and anchor presets… so i can`t make text start from upper part and its always show it in the middle (on the pivot)
some informations:
Hierarchy: Canvas → ScrollRect (image with “Scroll Rect” and “Mask” ) → Content (Vertical layout group) → Text ( “Content size fitter” with vertical fit ) + buttons
P.S. i`m sorry for my bad eanglish. Not a native but still lame excuse =(


