1
Support / Re: Trying to recalculate ScrollableArea content length from script.
« on: November 29, 2013, 02:26:17 pm »
Solved it. In case anyone else is wondering i did it by adding this method into the ScrollableArea script:
public void calculatecontentLength () {
contentLength = MeasureContentLength ();
}
And then just called the method whenever i wanted to recalculate.
public void calculatecontentLength () {
contentLength = MeasureContentLength ();
}
And then just called the method whenever i wanted to recalculate.