InjectFix
InjectFix copied to clipboard
针对二维数组的SET用法,植入失效了
报错如下: E/Unity: Attempting to call method 'System.Boolean[,]::Set' for which no ahead of time (AOT) code was generated. EventDelegate:Execute(List`1) UIButton:OnClick() UICamera:Notify(GameObject, String, Object) UICamera:ProcessRelease(Boolean, Single) UICamera:ProcessTouch(Boolean, Boolean) UICamera:ProcessTouches() UICamera:Update()
本身的代码就是在UI点击函数中,对一个二维数组进行了操作。 在此之后,已经搜索了论坛,发现目前已知的AOT问题基本都是和泛型有关系 不知道二维数组这个能不能救
AOT一般都没救
T_T
可以用SetValue代替,能绕过这个报错