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

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

291. laya.d3.core.ui3d.UI3D_API3.0 [ 54%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdit...

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

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

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

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

293. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...eMultiLight 关闭时,系统会切换传统单光源渲染模式:添加 LEGACYSINGLELIGHTING 着色器定义,将光源计算限制为最多1个;使用固定 uniform 变量传递单个光源属性数据;并调用 legacyLightingValueInit() 初始化传统单光源着色器参...

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

294. laya.display.Input [ 52%]

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

来源: laya_api 发布时间: 20170929

295. 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

296. 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

297. WebSocket通信 · LayaAir3.4 · 引擎文档 · 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

298. 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

299. 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

300. 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