赞
踩
项目中要使用动态加载,原计划是生成WWW对象后,放到一个容器里。由一个独立线程轮询容器里的对象,如果www.isDone为true时,回调一个接口把结果交给请求方。
new Thread( new ThreadStart( XXX.run ) );
运行以后出现下面问题:
详细错误:
get_isDone can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initiali
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。