1
Support / Re: Scene Slows down to a crawl after a while
« on: October 10, 2013, 03:40:17 am »
Figured it out.
I got in touch with Unity. They let me have another free trail. I used the profiler and it showed me that my buttons were using a huge cpu percentage. I took a look at my classes and found out in my base class i was doing this:
in my Update(){
uiItem.OnDown += ButtonDown;
uiItem.OnUp += ButtonUp;
}
I was basically staking those classes per frame... which ended up throttling the entire cpu. Thank you again for everyone that took the time to read my posts and thank you 2dToolkit for your wonderful support.
I got in touch with Unity. They let me have another free trail. I used the profiler and it showed me that my buttons were using a huge cpu percentage. I took a look at my classes and found out in my base class i was doing this:
in my Update(){
uiItem.OnDown += ButtonDown;
uiItem.OnUp += ButtonUp;
}
I was basically staking those classes per frame... which ended up throttling the entire cpu. Thank you again for everyone that took the time to read my posts and thank you 2dToolkit for your wonderful support.