大约有 5,707 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0134 秒)
Laya_社区(5465) Laya3.0_api(78) Laya2.0_api(72) Laya3.0_文档(37) Laya2.0_文档(34) laya_api(18) Laya2.0_示例(2) Laya_示例(1)
... private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var particle = Particle3D.Create(this.filePath)...
来源: Laya3.0_文档 发布时间: 20251010
... private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var particle = Particle3D.Create(this.filePath)...
来源: Laya3.0_文档 发布时间: 20250104
...打包找不到图集文件 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 横屏模式在锁定竖屏的iphone上不能正常显示的问题 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 做好的粒子特效在U3D里循环正常。在LAYA插件里预...
来源: Laya_社区 发布时间: 20190910
Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, th...
来源: Laya_社区 发布时间: 20180531
...er.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGroup 类的实例对象 radioGroup 。 radioGroup.pos(100, 100);//设置 radioGroup 的位置信息...
来源: Laya3.0_api 发布时间: 20231115
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in...
来源: Laya3.0_api 发布时间: 20231115
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in...
来源: Laya3.0_api 发布时间: 20231115
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in...
来源: Laya3.0_api 发布时间: 20231115
...g"]; Laya.loader.load(res, new laya.utils.Handler(this, onLoadComplete));//加载资源。 function onLoadComplete() { var arr = [];//创建一个数组,用于存贮列表的数据信息。 for (var i = 0; i < 20; i++) { arr.push({label: "item" + i}); } var list = new laya.ui.List();//创建一...
来源: Laya3.0_api 发布时间: 20231115
...和兼容的问题,当然目前使用的js在iOS10以上是可以正常加载的。 同时也想请教一下,在处理了iOS的js兼容后,不能初始化问题! m_pConchRuntime = [[conchRuntime alloc]initWithView:m_pGLKView EAGLContext:m_pGLContext downloadThreadNum:3 URL: [PXMainViewCont...
来源: Laya_社区 发布时间: 20190612