I am writing a Textual content-RPG and I’ve arrange a ScrollRect the place new paragraphs and decisions are added and eliminated at each flip. This makes the dimensions of the Content material change consistently, which I deal with with a Content material Measurement Fitter.
To forestall the participant from dropping observe of the final paragraph he was studying earlier than making a selection, I might prefer to maintain it in the identical place relative to the display screen it doesn’t matter what adjustments within the Content material. Nevertheless, this isn’t potential because of the clamped setting of the ScrollRect’s Motion Kind. I wish to maintain the clamped conduct to forestall limitless scrolling, however I have to discover a strategy to make it work whereas conserving the final paragraph’s place.
This is a visible illustration of what I am making an attempt to realize:
Setting the ScrollRect’s Motion Kind to unrestricted causes the conduct I am searching for. Nevertheless, I can not enable the content material to be scrolled endlessly. If there’s a workaround for clamping an unrestricted ScrollRect that might be an answer… I might love to listen to about it!
I’ve additionally thought of instantiating an empty block that takes the dimensions of the alternatives block to cowl the house marked in crimson. Nevertheless, that causes extra issues because the participant would possibly choose a selection whereas the scroll isn’t completely on the backside. I actually do not know the best way to make that work.




