大约有 286 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0125 秒)
...ate(this,this.onLoading)); } 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.pn...
来源: Laya_社区 发布时间: 20170103
...游戏中切换动画无法显示 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 打包QQ小游戏,rayCast发出的射线检测到的物体...
来源: Laya_社区 发布时间: 20250929
...微信小游戏运行时显示sprite位置会出现错误。图1和图2的text是直接放在Scene中的sprite,作为标记位置用。图一的AAAA是正常IDE和本地调试的显示位置,图2的AAAA是打包到微信后运行的位置,出现明显偏差。 附件 : --> 2025-06-18 添加评...
来源: Laya_社区 发布时间: 20250618
... map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(over); } hero类: (function() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = H...
来源: Laya_社区 发布时间: 20180911
...IDE\resources\app\node_modules\rollup\dist\rollup.js:16065:38) at RollupContext.error (E:\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:17187:30) at lodash_3 (E:\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin...
来源: Laya_社区 发布时间: 20191227
...创建新的script节点 new_element1.setAttribute("type", "text/javascript"); // new_element1.setAttribute("src", jsPAth); //LayaNative不支持 new_element1.src = jsPAth document.body.appendChild(new_element1);//添加到body节点的末尾 new_element1.onload = fun }...
来源: Laya_社区 发布时间: 20180608
...th:100px; height:100px; margin-top:15px;"></div> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { qrcode.makeCode(_qrchr); } makeCode("asfasdfas5151a31fsefasefsafe"); </script>...
来源: Laya_社区 发布时间: 20170817
...到舞台的3D模型不显示贴图 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 (Laya3.0非常严重BUG) 任意模型,只要坐标值越大,模型扭曲变形越严重 unity中的模型导出后在laya中显示不正常 ios14系...
来源: Laya_社区 发布时间: 20250414
... Laya全局变量设置为null 之后在重新执行下 引擎库,发现 text无法设置 所以最后还是采用了你这种 销毁孩子 隐藏 这种方法
来源: Laya_社区 发布时间: 20170315
... TS项目如何引用protoBuf库? layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 Unity场景使用Laya导出插件导出,总是提示LayaAir3D UnityPlugin: unknown Shader Please use LayaAir3D shader 问题状态 最新活动: 2025-1...
来源: Laya_社区 发布时间: 20251217