ccs.ArmatureDataManager:getInstance():addArmatureFileInfo(path)
local bone = ccs.Armature:create(HeroData:getModelPath())
bone:getAnimation():play("daiji")
node:addChild(bone)
local function callback()
local function animationEvent(armatureBack,movementType,movementID)
TOOLS.DebugPrint("id ="..movementID)
end
end
bone:getAnimation():setMovementEventCallFunc(callback)
这么回调没效果呢。 3.4的修改了?