【MapPlayerView】随机方法修改
parent
3027e991c9
commit
e694302cac
|
@ -1,4 +1,4 @@
|
|||
require("Modules/Map/Logic/TileMapView")
|
||||
require("Modules/Map/Logic/TileMapView")
|
||||
local this = {}
|
||||
local ctrlView = require("Modules/Map/View/MapControllView")
|
||||
|
||||
|
@ -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