Optimizing Mobile Applications
DAY1_1330_Room1_HarknessDundore_Long_Big
DAY1_1330_Room1_HarknessDundore_Long_Big
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Memory Conservation: Unity APIs (2)<br />
• This code allocates many Touch[] arrays.<br />
for ( int i = 0; i < Input.touches.Length; i++ )<br />
{<br />
Touch touch = Input.touches[i];<br />
// …<br />
}