Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ToffelskaterQ

Pages: [1]
1
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.

2
Support / Trying to recalculate ScrollableArea content length from script.
« on: November 29, 2013, 01:10:24 pm »
Hey. Maybe I'm misunderstanding how to use scripts for tk2d, but I'm trying to recalculate content length of a horizontal scrollable area from an active game.

Could anyone basically write a little script example of how I'd do that? As i can't seem to make it work.

Pages: [1]