逍遥特效提交

dev_chengFeng
zhangqiang 2021-02-05 16:46:08 +08:00
parent 8ea6f2fcf8
commit f34eb0c41a
1 changed files with 2 additions and 2 deletions

View File

@ -244,8 +244,8 @@ function this.MoveTT(targetIndex,_data)
this.SetTTDirection()
curGridIndex=curGridIndex+1
LogGreen("curGridIndex:"..curGridIndex)
--allEffect[curGridIndex].gameObject:SetActive(true)
allEffect[curGridIndex].gameObject:SetActive(false)
allEffect[curGridIndex].gameObject:SetActive(true)
--allEffect[curGridIndex].gameObject:SetActive(false)
this.TT.transform:DOAnchorPos(Vector3(allGridData[curGridIndex].x,allGridData[curGridIndex].y,0),0.3):OnComplete(function ()
this.mapProcess.text=string.format("游历进度:%d%%",(curGridIndex/#allGridData*100))
this.MapMove(allGridData[curGridIndex].x,0.3)