早教吧作业答案频道 -->英语-->
Unity出现BUG了,我用的是DFGUI做的MissingReferenceException:Theobjectoftype'dfTweenVector3'hasbeendestroyedbutyouarestilltryingtoaccessit.Yourscriptshouldeithercheckifitisnulloryoushouldnotdestroytheobject.dfTween
题目详情
Unity出现BUG了,我用的是DFGUI做的
MissingReferenceException:The object of type 'dfTweenVector3' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
dfTweenComponent`1[UnityEngine.Vector3].Play () (at Assets/Daikon Forge/Tweening/Scripts/dfTweenComponent.cs:127)
num.MoveToPosition (Int32 targetX,Int32 targetY,Boolean isNeedUpdateComponentArray) (at Assets/Scripts/num.cs:98)
GameController.MoveNum () (at Assets/GameController.cs:189)
GameController.Update () (at Assets/GameController.cs:56)
就提示这些了,
MissingReferenceException:The object of type 'dfTweenVector3' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
dfTweenComponent`1[UnityEngine.Vector3].Play () (at Assets/Daikon Forge/Tweening/Scripts/dfTweenComponent.cs:127)
num.MoveToPosition (Int32 targetX,Int32 targetY,Boolean isNeedUpdateComponentArray) (at Assets/Scripts/num.cs:98)
GameController.MoveNum () (at Assets/GameController.cs:189)
GameController.Update () (at Assets/GameController.cs:56)
就提示这些了,
▼优质解答
答案和解析
dfTweenVector3对象被销毁了
而你其他的地方还有对其的引用
而你其他的地方还有对其的引用
看了Unity出现BUG了,我用的...的网友还看了以下:
y'sinx=ylny分离变量,得dy/(ylny)=dx/sinx两边同时积分,得ln/lny/ 2020-04-27 …
设X,Y是两个随机变量,则下列等式中正确的是A,E(X+Y)=E(X)+E(Y)B,D(X+Y)= 2020-05-15 …
,Var(X+Y)=Var(X)+Var(Y)设随机变量X,Y的数学期望和方差都存在,则下式中一定 2020-07-19 …
matlab求解globalabcdev;a=1;b=0;c=-1;d=0;e=1.5;v=1.5 2020-07-24 …
原例题解题过程:求微分方程y'+ytanx=secx的通解因为P(x)=tanx,Q(x)=sec 2020-07-31 …
类比“两角和与差的正弦、余弦公式”的形式,对于给定的两个函数S(x)=[e^x-e^(-x)]/2 2020-08-03 …
类比两角和与差的正弦,余弦公式,对于给定的两个函数S(X)=(E^X-E^-X)/2,C(X)=( 2020-08-03 …
二阶微分方程求解题目2xy''=y'令p=y',则y''=p'=>2xp'=p=>2*dp/p=dx 2020-11-16 …
y+c=x+bc,b都是常数他们都不等于0.现在问2个基础的问题,假如他们2边用1除,是变成1/(y 2020-11-20 …
高等数学题求可分离变量的微分方程的通解ylny+xy'=0答案:y=e^(C/x) 2021-02-12 …