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

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

1111. list点击label保留一种状态 [ 66%]

...:false }) } record_slide_list.array = data; record_slide_list.selectEnable=true; record_slide_list.selectHandler = new Handler(this, onSelect,[record_slide_list]); record_slide_list.renderHandler = new Handler(this, onRender); function onRender(item,index){ var dataIndex = data[index]; var label = i...

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

1112. as编译器1.7.5beta的问题 [ 66%]

...criptProperties;iflash=false;windowshow=false;chromerun=false;quickcompile=true;outlaya=true" PointTest.rar 2017-06-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sun9278888 相关问题 发起问题须知,必看!!!不按提...

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

1113. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 66%]

...ath", caption: "输入目录", inspector: "File", options: { absolutePath: true, properties: ["openDirectory"] }, type: "string", }, { name: "outputPath", caption: "输出目录", inspector: "File", options: { absolutePath: true, properties: ["openDirectory"], }, type: "string", }, { name: "", inspe...

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

1114. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 66%]

.../btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示  var ballOptions = { layaSprite:ball_sprite,                 render:                 {                     sprit...

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

1115. 在安卓或苹果手机中,游戏正在进行,忽然有人打电话来,游戏中的声音不能停止 [ 66%]

...tMusicVolume(0); SoundManager.setSoundVolume(0); SoundManager.musicMuted = true; SoundManager.soundMuted = true; 但游戏在浏览器中运行,有电话来时是正常的,声音会停止,但在APP中不能停止,有什么解决方法?? 2018-01-04 添加评论 免费帖 --> 分享 微博...

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

1116. laya.display.Animation_API3.0 [ 66%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

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

1117. Laya.Tween.to 有没有监听值的变化的方法? [ 65%]

...eturn _create(target, props, duration, ease, complete, delay, coverBefore, true, false, true);         } 2018-06-21 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 阿琴 相关问题 两个对象new了一个相同的对象,调...

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

1118. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 65%]

...    rigidbody.mass = 0.01;             rigidbody.overrideGravity = true;             rigidbody.gravity = new Laya.Vector3();             rigidbody.isTrigger = true;             rigidbody.isKinematic = false;             rigidbody.colliderShape = new Laya.CompoundColli...

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

1119. 图集打包与动画 [ 65%]

...,控制台就会报错,但是动画能正常播放。 this.ani.play(0,true,'XiuXian');控制台报错:ani not found: BlueEmoji.ani#XiuXian。但是游戏中动画正常播放了~~不知道是不是我那里姿势不对。但是如果this.ani.play('Normal'); Normal是默认动画,就没有问...

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

1120. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 65%]

...'/&gt;      *      * style支持的属性如下:      * italic:true|false;                   是否是斜体      * bold:true|false;                     是否是粗体      * letter-spacing:10px;                 字间距 ...

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