大约有 396 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0043 秒)
Laya_社区(125) Laya3.0_api(102) Laya2.0_api(77) laya_api(59) Laya2.0_文档(13) Laya2.0_示例(8) Laya_示例(7) Laya3.0_文档(5)
3d骨骼动画播放不响应Laya.Event.COMPLETE 我在unity编辑的动画播放的controoler里面设定了攻击动作结束后,会播放待机动作,待机动作是循环播放的,导出后,我在js代码了面播放攻击动作,攻击动作停止后,不会响应Laya.Event.COMPLETE...
来源: Laya_社区 发布时间: 20180202
...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...
来源: Laya_示例 发布时间: 20241117
.../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature ...
来源: Laya_示例 发布时间: 20241117
...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console...
来源: Laya_社区 发布时间: 20180827
...ine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature ...
来源: Laya_示例 发布时间: 20241117
...neVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2,...
来源: Laya2.0_示例 发布时间: 20241117
..."res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...
来源: Laya2.0_示例 发布时间: 20241117
...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { // 创建模式为1,使用动画自己的缓冲区,可以启...
来源: Laya2.0_示例 发布时间: 20241117
...ine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...
来源: Laya2.0_示例 发布时间: 20241117
...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...
来源: Laya_示例 发布时间: 20241117