I am currently using a ScrollableArea_Vertical prefab with an attached Scrollbar. My desired functionality is to start the program with no objects added to the ScrollableArea_Vertical content object, but to add them through script later. The challenge is that when Unity starts and the ScrollableArea_Vertical has no objects in it's content area, it disables the Scrollbar.
What is the best way to add objects to the ScrollableArea_Vertical in script during runtime and activate the Scrollbar for normal use? I have attempted to call
(pseudo code)
tk2dUIScrollableAreaObject.MeasureContentLenghth();
Scrollbar.SetActive(true);
No apparent results.