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

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

1221. Panel初始化BUG [ 60%]

...改成这样试试看 onEnable(): void { Laya.loader.load("comp/image.png", Laya.Handler.create(this, this.onResReady)); } private onResReady() { let panel = new Laya.Panel(); Laya.stage.addChild(panel); panel.graphics.drawRect(0, 0, 300, 300, "#ffcccc"); panel.width = 300; panel...

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

1222. 请问ts版本下的Combobox组件,下拉框层级问题,是不打算改了吗? [ 60%]

...点击了 romeo211 • 2017-04-25 22:47 let img = new Laya.Image('comp/bg.png'); let cbx = new Laya.ComboBox('comp/combobox.png', 'label1,label2'); cbx.selectedIndex = 0; let dialog = new Laya.Dialog(); dialog.addChild(img); dialog.addChild(cbx); dialog.popup(); romeo211 • 2017-04-25 22:48 这样...

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

1223. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 60%]

...../../../../../LayaAir_TS/2D/beginners/animation/SpineAdaptedVersion/img/1.png) 在代码中使用时,我们在使用适配版Spine时需要引用指定的类有`Laya.SpineSkeleton`、`Laya.SpineTemplet`和`Laya.SpineTempletBinary`。 其中,`Laya.SpineSkeleton`是spine骨骼动画必须要引...

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

1224. 同一类型光源互斥的问题报告 [ 60%]

..., 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3(0, 0, 0); var material2 = new Laya.Standa...

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

1225. 2.0版本Loader加载不同目录下的相同文件名的图片有问题 [ 60%]

...日志两个图片的路径分别是 http://usr/skin_resources/105/main1.png 和 http://usr/skin_resources/108/main1.png  2019-02-26 0 0 分享 微博 QZONE 微信 june 赞同来自: 你可以看看这个日志里面点击那个path的链接打开的图片是正确的,但是texture是同一个...

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

1226. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 60%]

...dress.json", tex: "res/self/gltfMode/gltfBin/beautyResource/blusher/beauty.png" }, eyelid: { cfg: "res/self/gltfMode/gltfBin/beautyResource/eyelid/dress.json", tex: "res/self/gltfMode/gltfBin/beautyResource/eyelid/beauty.png" }, ... } ``` 2. 加载模型 ```typescript /** * 创建辅助对象,方...

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

1227. 微信小游戏分包实战(JavaScript-小游戏适配文档-微信小游戏) [ 59%]

...内嵌模式、加载模式、分离模式,三个选项。 ![图1](img/1.png) **默认是内嵌模式**,这种模式下,导出UI的页面时,会将配置信息等内容导出为项目的代码文件。最终发布成小游戏的时候就是js文件。从而占用了一些宝贵的小游戏...

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

1228. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 59%]

...0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png", Handler.create(this, __loadImageHandler)); } private function __loadImageHandler():void { _colorSpr = new Sprite(); _colorTex = Laya.loader.getRes("assets/images/color1.png"); _colorSpr.graphics.drawTexture(_colorTex); ...

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

1229. 输入设备-指南针 [ 59%]

...GL; var Event = Laya.Event; var compassImgPath = "../../res/inputDevice/kd.png"; var compassImg; var degreesText; var directionIndicator; var firstTime = true; (function() { Laya.init(700, 1024, WebGL); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.al...

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

1230. 1.7.17beta,微信小游戏预览加载问题 [ 59%]

...个模型res/LayaMonkey/LayaMonkey.lh。其中项目自带的res/layabox.png在真机上预览是可以出来的,但res/LayaMonkey/LayaMonkey.lh加载会提示失败。guan官方一起看吧,估计是同样的问题。 //添加自定义模型 Laya.URL.basePath="http://192.168.8.104:8080/" var bo...

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