大约有 8 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0018 秒)
...mature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } function completeHandler() { play(); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module l...
来源: Laya_示例 发布时间: 20241119
...mature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } function completeHandler() { play(); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module l...
来源: Laya_示例 发布时间: 20241119
...mature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } function completeHandler() { play(); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module l...
来源: Laya_示例 发布时间: 20241119
...摇晃了" + shakeCount + "次\n"; if (shakeCount >= 3) { Shake.instance.stop(); console.text += "停止接收设备摇动"; } } })(); module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Shake = Laya.Shake; import Browser = Laya.Browser; import Handl...
来源: Laya_示例 发布时间: 20241119
... mArmature.y = mStartY; Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); changeSkin(); Laya.timer.loop(1000, this, changeSkin); } function changeSkin() { mCurrSkinIndex++; if (mCurrSkinIndex >= mSkinList.length) { mCurrSkinIndex = 0; } mArmature.showSkinByN...
来源: Laya_示例 发布时间: 20241119
...d(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } function completeHandler() { play(); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } function onEv...
来源: Laya_示例 发布时间: 20241119
...roller); } function onClipSwitchState() { if (counter.isPlaying) { counter.stop(); currFrame = counter.index; controller.label = "播放"; } else { counter.play(); counter.index = currFrame; controller.label = "暂停"; } } })();module laya { import Stage = Laya.Stage; import Button = Laya.Button; i...
来源: Laya_示例 发布时间: 20241119
...aa")) as Button; aaa.on(Event.CLICK, this, function():void{ zombieAnimator.stop(); }); })); } } }
来源: Laya_示例 发布时间: 20241119