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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0099 秒)

311. 属性设置器(TypeScript-IDE篇(TS)-设计模式基础) [ 82%]

...如“game.user.player”。 ### 2.4 visible `visible`是否显示默认为true。 ## 3、宽高及位置属性 宽高及位置属性在UI制作中有着很重要的作用。主要用于调整位置及UI屏幕适配(图4)。 ![图片1.png](img/4.png)(图4) ### 3.1 x、y属性 x与y属性是...

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

312. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 82%]

....js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2, "child":[ { "x":15, "type":"Image", "searchKey":"Image", "props":{"y":98,"x":450,"skin":"assets/dialog/bg_01001.png","scaleY":1,"scaleX":1}, "nodeParent...

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

313. laya.display.Input [ 82%]

... 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字符来隐藏输入的字符。如果为 false,则不会将文本字段视为密码文本字段。 默认值为false。 Input autoSize : B...

来源: laya_api 发布时间: 20170929

314. laya.d3.core.scene.Scene [ 82%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...

来源: laya_api 发布时间: 20170929

315. laya.map.GridSprite [ 82%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...

来源: Laya2.0_api 发布时间: 20190513

316. 属性设置器(ActionScript-IDE篇(AS3)-设计模式基础) [ 82%]

...如“game.user.player”。 ### 2.4 visible `visible`是否显示默认为true。 ## 3、宽高及位置属性 宽高及位置属性在UI制作中有着很重要的作用。主要用于调整位置及UI屏幕适配(图4)。 ![图片1.png](img/4.png)(图4) ### 3.1 x、y属性 x与y属性是...

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

317. laya.map.TileAniSprite [ 82%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...

来源: Laya2.0_api 发布时间: 20190513

318. 分享一个自己做的游戏公告功能,跑马灯效果 [ 82%]

...t _w = this.html.width const _x = this.html.x if (_x < -_w) { this.stop(true) } else { this.html.x -= 2 } } /** 添加节点 */ addItem(html:string) { if (typeof html === "undefined") {return } this.html.appendHTML(`${this.space}${html}`) if (this.isPlayIng === false) { this.play() this.isPlayIng...

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

319. list方法onSelect失效 [ 82%]

...选择栏,代码如下: onClickChooseIcon() { this.imgList.visible = true; this.imgListBg.visible = true; this.reqImage = this.iconImg; this.imgList.vScrollBarSkin = ''; this.imgList.selectEnable = true; this.imgList.array = listArr; this.imgList.renderHandler = new Laya.Handler(this, this.onRen...

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

320. Laya3d球星添加了刚体,但是碰撞无法触发onTriggerEnter的问题,120元有偿悬赏解答 [ 82%]

... player碰撞体 设置了一个(Laya.Rigidbody3D)同时 isTrigger =true,isKinematic=true 同时绑定了一个自定义都脚本 PlayerController,脚本里面添加了 onTriggerEnter,onTriggerStay,onTriggerExit 方法,并且在方法内有console.log输出,player设置了点击z方向...

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