cocos lua csb动画返回到开始处

    -- body
  if  self.ai == nil then
        return;
    end
       local map = parent.maps["map13"];
      if map == nil  then
      release_print("111111*******");
      end

 
    local node = map.AniNode["tree"];
    if node == nil  then
      release_print("*******");
      end
    release_print("11111");
    node:runAction(self.ai);
    self.ai:setTimeSpeed(1);
    self.ai:gotoFrameAndPlay(0,10, false)
    release_print("22222");
    node:stopActionByTag(1);
    release_print("test1")

猜你喜欢

转载自blog.csdn.net/u014660247/article/details/72168891