逍遥特效提交
parent
8ea6f2fcf8
commit
f34eb0c41a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue