屏蔽 【ID1007696】

【优化】逍遥游移动时头顶出现金币的奖励特效
dev_chengFeng
zhangqiang 2021-01-15 15:56:27 +08:00
parent a38db2d01d
commit cd47bb92aa
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ function this.MoveTT(targetIndex,_data)
this.SetTTDirection()
curGridIndex=curGridIndex+1
LogGreen("curGridIndex:"..curGridIndex)
allEffect[curGridIndex].gameObject:SetActive(true)
--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)