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

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

1151. laya.ui.FontClip_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

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

1152. laya.ui.UIGroup_API3.0 [ 35%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

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

1153. 2.12.2beta1 诸多bug [ 35%]

...weight:bold'>HTMLDivElement</span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点...

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

1154. laya.display.Animation_API3.0 [ 34%]

...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....

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

1155. laya.d3.core.scene.Scene3D_API3.0 [ 34%]

...器。功能同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:546 当前容器是否包含指定的 Node 节点对象 ...

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

1156. HTML文本 · LayaAir3.0文档 · LAYABOX [ 33%]

...om/'>LayaBox欢迎你的加入!</span>"; div.on(Laya.Event.LINK,this,(data:any)=>{ Laya.Browser.window.location.href=data; }); Laya.stage.addChild(div); 运行效果: 点击文字链接可以打开浏览器访问网址 3.6 实现html页面跳转 示例如下: var iHtml:HTMLIframeEl...

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

1157. 打包安卓Android studio黑屏 [ 33%]

...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...

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

1158. laya.display.Text_API3.0 [ 32%]

...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var text: laya.display.Text = new laya.display.Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设...

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

1159. LayaAirNative初始化的4个问题 [ 31%]

...进行优化呢 __JS__("window.eval(str)") var game:* = __JS__("new Game(this.enviroment)");   4.在游戏初始化的时候,一定会报这两个异常,请问是为啥   06-27 18:03:47.976 27945-27945/com.twand.kozhanji I/art: Rejecting re-init on previously-failed class java.lang.Class<co...

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

1160. laya.ui.CheckBox_API3.0 [ 31%]

...背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var checkBox:CheckBox = new CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个...

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