인터페이스 관련 글

|
http://www.cjonesdev.com/blog/unity-getcomponentlttgt-and-interfaces
Trackback 0 And Comment 0

unity3d Interface 사용 충돌체크 처리.

|

GetComponent 는 4가지 방법이 있음.
typeof로 검색하는 getComponet가 있음..
typeof로 검색하고 실행 하면됨.


Trackback 0 And Comment 0

GetComponent 와 SendMesage 속도 비교

|

출처 : http://forum.unity3d.com/threads/which-is-faster-sendmessage-or-getcomponent.103995/



I found that with 2000000 iterations I averaged:

double lastSendMessage; 1.09 - 1.12 seconds
double lastGetComponent; 0.42 - 0.46 seconds
double lastSendMessageVerified; 1.1 - 1.12 seconds
double lastGetComponentVerified; 0.5 - 0.52 seconds
double lastGetComponentVerifiedViaTag; 5.9 - 6.2 seconds

Trackback 0 And Comment 0
prev | 1 | ··· | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ··· | 165 | next