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

大约有 1,155 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0087 秒)

1081. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 44%]

示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...

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

1082. LayaAir下TTF字体的使用方式? [ 43%]

...nt="hu" text.pos(600,600); Laya.stage.addChild(text); Laya.timer.once(1000,this,onLoop); } private function onLoop():void { var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="嘻嘻嘻嘻嘻"; text.font="hu" Laya.stage.addChild(text); } } }  注意:  首次用到的(...

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

1083. laya.ui.Radio_API3.0 [ 43%]

...背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 实例对象 button ,传入它的皮肤sk...

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

1084. laya.ui.RadioGroup_API3.0 [ 43%]

...背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGroup 类的实例对象 radioGroup 。 radioGroup.pos(100, 100);//设置 ra...

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

1085. laya.ui.ComboBox_API3.0 [ 43%]

...背景颜色。 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

1086. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 43%]

...uildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -rectangle.y, rectan...

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

1087. laya.ui.Tab_API3.0 [ 43%]

...背景颜色。 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.labels = "...

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

1088. LayaFlash如何使用chrome调试问题? [ 42%]

...id { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); this.init(); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash...

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

1089. laya.html.dom.HTMLIframeElement_API3.0 [ 42%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...

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

1090. 重要问题:关于苹果审核被拒 [ 42%]

...e.  Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.   2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什...

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