Unity3D调用函数时出现的NullReferenceException报错的解决方法
今天在做封装网络模块的测试时遇到了这样的错误NullReferenceExceptionUnityEngine.MonoBehaviour.StartCoroutine (IEnumerator routine)网上查了一下,才恍然,其实是我对Unity的运行机制没有理解透,先看看别人的解释:Well, i just guess that the script (and / or the ...
原创
2018-12-04 11:42:43 ·
4755 阅读 ·
0 评论