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

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

291. LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonList [ 53%]

...把此信息截图给研发商 SimpleSingletonList 附件 : --> 2019-06-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找相关结果 已邀请: 与内容相关链接 提交 8 个回复 杜1 赞同来自: 月亮真扁 不改变源码情况下 可以 重写 那个报错...

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

292. laya.display.Input [ 52%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _fontFamilyMap : Object[static] 存在于这个映射表中字体,在IPhone上,...

来源: laya_api 发布时间: 20170929

293. laya.d3.physics.Rigidbody3D_API3.0 [ 52%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node I...

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

294. laya.display.Input_API3.0 [ 50%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值大小对同一容器所有对象重新排序。值越大,越靠上。默认...

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

295. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...{ private socket: Laya.Socket; //组件被启用执行,例如节点被添加舞台 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.soc...

来源: Laya3.0_文档 发布时间: 20251010

296. laya.ui.Radio_API3.0 [ 50%]

...点击事件处理器。 Laya.stage.addChild(button);//将此 button 对象添加显示列表。 } private function onClickButton(button:Button):void { trace("button.selected = "+ button.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor =...

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

297. laya.ui.Button_API3.0 [ 48%]

...点击事件处理器。 Laya.stage.addChild(button);//将此 button 对象添加显示列表。 } private function onClickButton(button:Button):void { trace("按钮button被点击了!"); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefe...

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

298. laya.ui.CheckBox_API3.0 [ 46%]

...事件处理器。 Laya.stage.addChild(checkBox);//将此 checkBox 对象添加显示列表。 } private function onClick(checkBox:CheckBox):void { trace("输出选中状态: checkBox.selected = " + checkBox.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColo...

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

299. laya.ui.TextInput_API3.0 [ 44%]

...置 textInput 高度。 Laya.stage.addChild(textInput);//将 textInput 添加显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...

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

300. laya.ui.TextArea_API3.0 [ 43%]

.../设置 textArea 高度。 Laya.stage.addChild(textArea);//将 textArea 添加显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....

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