大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Radio }) public radio: Laya.Radio; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.rad...
来源: Laya3.0_文档 发布时间: 20251010
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210715
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 HScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210714
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tab) ## 2、通过LayaAirIDE创建Tab组件 ### 2.1 创建Tab 点击选择`资源管理器`里的 Tab 组件资源,拖拽到场景编辑器,即在页面中成功的创建了一个 Tab...
来源: Laya2.0_文档 发布时间: 20210715
...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 问题状态 最新活动: 2018-05-08 18:27 浏览: 21566 关注: 29 人 ca...
来源: Laya_社区 发布时间: 20160514
...ay = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ....... ]; let createGameScene = () => { Laya.stage.width = 1218; ...
来源: Laya_社区 发布时间: 20181202
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Stage),找到screenMode属性。如图1所示。  (图1) #### 1.1 默认值none或者不设置screenMode属性 默认值none或者不设置screenMode属性...
来源: Laya2.0_文档 发布时间: 20210714
...nH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问...
来源: Laya_社区 发布时间: 20170829
...ir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * thi...
来源: Laya2.0_示例 发布时间: 20260106
...ow.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行呢?打开谷歌浏览器,随便打...
来源: Laya2.0_文档 发布时间: 20210715