您的位置:首页 > 移动开发 > Unity3D

一些Unity基础操作的性能测试

2016-12-18 10:52 429 查看
从以前一个文章转移过来的内容,以后会进一步进行测试

内容毫秒数(Editor)毫秒数(Build PC)
加减内部变量4ms1ms
new List<int>()559ms479ms
str.IndexOf103ms40ms
GetComponent<Component>()261ms133ms
GetComponent<Transform>()257ms130ms
GetComponents<Component>()871ms721ms
                                                           
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: