【MapPlayerView】随机使用lua原生的方法
parent
9d7a51fd57
commit
a228c18c50
|
@ -22,7 +22,7 @@ local idleFunc = function()
|
|||
this.NpcGO:SetWalkDir(WALK_DIR.IDLE_FRONT)
|
||||
end
|
||||
end
|
||||
local index = Random.Range(9,11)
|
||||
local index = math.random(9,11)
|
||||
local AnimTimer = Timer.New(function ()
|
||||
if not isRoleWalk and this.leader then--SkeletonGraphic and
|
||||
PlayUIAnim(Util.GetGameObject(this.leader, "root/ui/arrow"))
|
||||
|
|
Loading…
Reference in New Issue