【MapPlayerView】随机使用lua原生的方法

dev_chengFeng
gaoxin 2021-07-22 19:36:17 +08:00
parent 9d7a51fd57
commit a228c18c50
1 changed files with 1 additions and 1 deletions

View File

@ -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"))