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

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

1121. list只能显示一个图片 [ 48%]

...; this.list1.x = 50; this.list1.y = 500; this.list1.getChildAt(0).height = 100; this.list1.vScrollBarSkin = ""; this.list1.hScrollBarSkin = "comp/hscroll.png"; this.list1.renderHandler = new Laya.Handler.create(this,this.onRenderList); this.list1.selectHandler = new Laya.Handler.create(this,this.onL...

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

1122. Layabox web 复制一段文字到剪贴板 [ 48%]

...= "absolute"; this.newMask.style.zIndex = "1"; this.newMask.style.width = "100%"; this.newMask.style.height = Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) + 100 + "px"; this.newMask.style.top = "0px"; this.newMask.style.left = "0px"; this.newMask.style.background = "gr...

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

1123. Laya新增加worker加载 CurlMem比不用worker增加 [ 48%]

...时Loader.clearRes()清理掉加载的位图,反复这个操作,反复100次,调试式的内存就彪到2G!!!不要说任务管理器里的内存也是显示错误吧。如果不用worker,相同的代码,内存就不会增加。 DemonWu • 2017-03-21 14:21 我在下面留了demo,...

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

1124. 射线检测-射线检测 [ 48%]

...; //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.create(["../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm", "../../res/threeDimen/skinModel/CunMinNan/CunMinNan-cunminn...

来源: Laya_示例 发布时间: 20251209

1125. laya.ui.Tab_API3.0 [ 48%]

...。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对象的显示位置。 tab.selectHandler = new Handler(this, onSelect...

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

1126. TS版本的官方示例,导出到玩一玩,在读写文件时能存不能读,读不出来,甚至直接读取会显示字符串里边有乱码。。。。 [ 48%]

...符串里边有乱码。。。。 Laya.LocalStorage.setItem("ceshiValue","100"); var testReadV:string = Laya.LocalStorage.getItem("ceshiValue"); console.log("testReadV = " + testReadV); 如此行代码,测试下来testReadV==undefined 这里我看了适配层,不知是怎么回事会导致读取...

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

1127. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 48%]

...e3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionL...

来源: Laya2.0_文档 发布时间: 20210715

1128. 厦门风领科技 急聘【LayaAir 3D游戏开发】,坐标:厦门 [ 48%]

...游戏的研发和发行,目前累计注册用户已破5亿,已发行100多款小游戏。 【风领文化是什么】 “携手共进,不忘初心”,这是风领的企业文化。风领的发展离不开每位小伙伴的努力和奉献,始终感恩能与小伙伴们同舟共济,不论...

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

1129. Image.loadImage 方法加载问题 [ 48%]

...eList.spaceY = 0; // this.publicSpaceList.x = 22; this.publicSpaceList.y = 100; this.publicSpaceList.width = 1553; this.publicSpaceList.height = 810;// this.publicSpaceList.vScrollBarSkin = ""; this.publicSpaceList.selectHandler = new Laya.Handler(this, this.onListSelect); this.publicSpaceList.rende...

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

1130. 游戏加载进度失效 [ 48%]

... onLoading(progress){ this.gameLoading.loadTxt.text="Loading..."+(progress*100)+"%"; } onLoaded() { this.cacheAnimation(); var waterBg = Laya.Sprite.fromImage("res/bg.png"); Laya.stage.addChild(waterBg); //创建背景 this.bg = []; this.bg[0] = new BackGround("res/bg1.png", 0.1); this.bg[0].pos(0, ...

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