大约有 1,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
Laya_社区(1208) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya3.0_文档(43) Laya2.0_示例(43) Laya2.0_api(13) laya_api(12)
...布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,item3,item4,item5");//...
来源: Laya3.0_api 发布时间: 20231115
...Sprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发器,取消物理反馈 staticCollider.isTrigger = true; ...
来源: Laya2.0_文档 发布时间: 20210715
...画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();//创建一个 Tab 类的实例对象 tab 。 tab.skin = "resource/ui/tab.png";//设置 tab 的皮肤。 tab.l...
来源: Laya3.0_api 发布时间: 20231115
...的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog。 dialog.dragArea = "0,0,150,50";//设置 dialo...
来源: Laya3.0_api 发布时间: 20231115
...布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");//创建一个 TextInput 类的实例对象 textInput 。 tex...
来源: Laya3.0_api 发布时间: 20231115
...布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea....
来源: Laya3.0_api 发布时间: 20231115
...-11 11:17:08.930 8591-8591/? E/LayaConch5﹕ plugin-----------------onCreate() 04-11 11:17:08.936 8591-8591/? E/﹕ m_pPlatform = layaair.game.Market.MarketTest@f656e70 04-11 11:17:08.949 8591-8591/? I/LayaBox﹕ setLocalizable:0 04-11 11:17:08.950 8591-8591/? I/LayaBox﹕ setI...
来源: Laya_社区 发布时间: 20170411
...到数组中 /** * 通过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { va...
来源: Laya3.0_文档 发布时间: 20230303
...--------------------4"); Laya.Browser.window.globalImage = window.document.createElement("img"); console.log("onCharge-------------------------5"); Laya.Browser.window.globalImage.onload=function() { console.log("onCharge-------------------------6"); } console.log("onCharge-------------------------7...
来源: Laya_社区 发布时间: 20170609
... 创建树Tree 该怎么回调mouseHandler 形参该传什么 Laya.loader.create 进度回调函数执行两次 本人想做个批量加载json文件,然后等这些文件统一加载完后回调 怎么停止正在运行Laya.timer.frameLoop的回调函数 Skeleton 类播放完成一遍后有没事...
来源: Laya_社区 发布时间: 20180119