• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,363 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)

1301. 骨骼动画-Spine事件 [ 38%]

...; this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature.scale(0....

来源: Laya2.0_示例 发布时间: 20251219

1302. 看看这是在打印什么?? [ 37%]

...js 调到 java 那边的方法 是在主线程吗 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何确定自己是在Native环境中? worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常 TimeLin...

来源: Laya_社区 发布时间: 20170401

1303. 支付宝小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 代码中printProgress会打印加载进度日志,效果如下所示: (图4-2) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025...

来源: Laya3.0_文档 发布时间: 20251010

1304. laya.ui.Button_API3.0 [ 37%]

...reate(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var button = new laya.ui.Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button 对象的...

来源: Laya3.0_api 发布时间: 20231115

1305. laya.ui.CheckBox_API3.0 [ 37%]

...reate(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var checkBox:laya.ui.CheckBox= new laya.ui.CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个 CheckBox 类的类的实例对象 checkBox ,传入它的皮肤skin...

来源: Laya3.0_api 发布时间: 20231115

1306. 打包Android单机版原生应用,屏幕黑屏,但是看日志发现逻辑正常执行了 [ 36%]

...s 09-10 18:47:40.835 26418-26418/com.layabox.game E/GED: Failed to get GED Log Buf, err(0) 09-10 18:47:40.932 26418-26418/com.layabox.game E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport 09-10 18:47:41.028 26418-26418/com.layabox.game E/LayaGameEngine: game_plugin_in...

来源: Laya_社区 发布时间: 20190910

1307. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 36%]

...is._layerMap[layerStr]; if(layer === null || layer === undefined){ console.log(layerNodeName + ' don not match the rule of layer node.'); return; } if(bRemove){ this.removeLayer(target,layer); } else{ this.addLayer(target,layer); } } } } public static removeAllLayers(target) { target.cullingMask = 0...

来源: Laya_社区 发布时间: 20200110

1308. 单选框组容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...ld(rg); return rg; } private onSelectChange(index: number): void { console.log("你选择了第 " + (index + 1) + " 项"); } } 效果如图所示: (图3-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-16 18:53:02 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251016

1309. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img = new Lay...

来源: Laya3.0_文档 发布时间: 20251010

1310. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 35%]

...                case "left":                     console.log(this.text + " left");                     if (isFF) {                         alignmentText = '<text text-anchor="start" dominant-baseline="middle" ';                     } else {     ...

来源: Laya_社区 发布时间: 20180824