728x90 반응형 unity9 [Unity]FindOfjectsOfType<T> 와 GetComponents<T> 중 어떤게 더 빠를까? root에서 호출하는 것이 가장 빠르다 Editor 메소드 평균 처리 시간 (ms) FindObjectOfType 10.0 FindObjectsOfType 11.0 RootGameObject 3.5 RootGameObject(List) 3.0 standalone에서 developmentbuild + Autoconnect profiler 메소드 평균 처리 시간 (ms) FindObjectOfType 6.5 FindObjectsOfType 6.9 RootGameObject 2.7 RootGameObject(List에추가) 2.7 테스트 환경 windows7 Unity 2018.4.5f1 .net 4.x .net standard 2.0 mono profile.cs using System; using Syste.. 2020. 11. 2. 이전 1 2 3 다음 728x90 반응형