2010. 9. 16. 17:30
1. Use InvokeRepeating()
MonoBehaviour.InvokeRepeating
function InvokeRepeating (methodName : string, time : float, repeatRate : float) : void
Description
Invokes the method methodName in time seconds.
After the first invocation repeats calling that function every repeatRate seconds.
2. Force Garbage Collecting every some times
- System.GC.Collect()
'Dev > Unity3D' 카테고리의 다른 글
FindObjectOfType fail. (0) | 2010.12.14 |
---|---|
Unity Script 와 Obejct-C 연동. (0) | 2010.11.09 |
Unity3D 3.0 과 OpenFeint 2.7.4 연동 (4) | 2010.11.02 |
OnGUI() 와 Garbage Collection (0) | 2010.10.08 |
Unity3D iPhone frame 변경 (2) | 2010.09.06 |