摘要:
//正确写法,添加了局部变量在表达式之外进行临时存储变量索引 for (int i = 0; i < btn.Length; i++) { int temp = i; btn[i].onClick.AddListener(()=> { print(btn[temp]); }); }//错误写法,编号 阅读全文
posted @ 2021-01-11 16:35
怪力~乱神
阅读(150)
评论(0)
推荐(0)
摘要:
1,u3d 的发布包尽可能的使用英文名。即英文名.exe 对于pc端文件没有问题 对于发布出来的VR就有问题,如果是中文,会报错(openvr error!openvr failed initialization with error code vriniterror_nologpath:"log 阅读全文
posted @ 2021-01-11 10:35
怪力~乱神
阅读(108)
评论(0)
推荐(0)

浙公网安备 33010602011771号