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

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

501. dialog的lock属性没出现 [ 59%]

....ui.Button; import laya.ui.Dialog; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class DialogCenterClose { private const DIALOG_WIDTH:int = 220; private const DIALOG_HEIGHT:int = 275; private const CLOSE_BTN_WIDTH:int = 43; private const CLOSE_BTN_PADDING:int = 5; ...

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

502. 关于版本控制问题 [ 59%]

...版本都要改下代码? ResourceVersion.enable("version99914b93.json", Handler.create(this, doStart), ResourceVersion.FILENAME_VERSION); 因为这个version.json文件 也是被缓存了,不加载最新版本就是旧的 2018-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

503. List选中项下滚会变 [ 59%]

...this.sList.selectEnable = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListVi...

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

504. localRotationEulerY旋转位置错误 [ 59%]

...hongMaterial();         Laya.Texture2D.load("res/grass.png", Laya.Handler.create(this, function (tex: Laya.Texture2D): void {             planeMat.albedoTexture = tex;         }));         //设置纹理平铺和偏移         var tilingOffset =...

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

505. Laya中有木有事件完成后触发某功能的函数? [ 59%]

...请: 与内容相关的链接 提交 1 个回复 伯恩 赞同来自: Laya.Handler.create 2019-06-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 陌小成_highmore 相关问题 看了其他引擎才发现 LAYA 真的太太太太好用...

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

506. swf在layaairts里播放的问题,播放不了,swf在群文件star.swf [ 59%]

...入口 module laya {     import Loader = Laya.Loader;     import Handler = Laya.Handler;     export class Loader_MultipleType {         private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json";         private ROBOT_TEXT...

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

507. layabox 网络加载异常慢 [ 59%]

...超过秒级,有时会20几秒,用的加载方式是 Laya.loader.load( url,Handler.create(this,comFun),null,Loader.IMAGE,0); 这个等待时间有没有大牛搞过啊   附件 : --> 2018-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

508. 关于as版的Animation.createFrames()不能工作? [ 59%]

...; import laya.display.Sprite; import laya.display.Stage; import laya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load(...

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

509. 材质的加载(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 59%]

... ```typescript //材质加载 BaseMaterial.load("res/skyBox2/skyBox2.lmat",Handler.create(this,function(mat:BaseMaterial):void { var skyRenderer:SkyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; })); ```...

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

510. 无法获取音频的时间长度 [ 59%]

...annel = Laya.SoundManager.playMusic("resources/sound/dh/gril1.wav", 1,Laya.Handler.create(this,() => {       }));     console.log(soundChItem.position+"");     console.log(soundChItem.duration+""); 附件 : --> 2023-05-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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