大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0073 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...模式。 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
...reTest/.laya/compile.js compile Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gul...
来源: Laya_社区 发布时间: 20200607
...ript Laya.Mesh.load("res/threeDimen/Physics/table.lm", Laya.Handler.create(this, function(mesh) { //....省略中间 //读取导出的桌子模型 var table = scene.addChild(new Laya.MeshSprite3D(mesh)); //给桌子加刚体并且设置刚体属性 var rigidBody = table.addComponent(Laya.Rigidbody3D...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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
...17:12:40.307 13946-14056/com.wesai.doudizhu I/LayaBox: release JSWebSocket this=ab911fa0 deletgate=ab914318 05-17 17:12:40.307 13946-14056/com.wesai.doudizhu E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.g...
来源: Laya_社区 发布时间: 20170517
...面上的任意节点命名并定义变量,运行时便可直接通过 this.xx 的形式访问这些节点,而无需手动逐层查找节点或通过 getChildByName 方式定位。这种机制极大地提升了 UI 结构的可维护性与脚本编写效率,特别适用于层级复杂的界面...
来源: Laya3.0_文档 发布时间: 20251010
... ```typescript Mesh.load("res/threeDimen/Physics/table.lm", Handler.create(this, function(mesh:Mesh):void { //....省略中间 //读取导出的桌子模型 var table:MeshSprite3D = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; //给桌子加刚体并且设置刚体属性 var rigidBody:Rig...
来源: Laya2.0_文档 发布时间: 20210714
...ript Laya.Mesh.load("res/threeDimen/Physics/table.lm", Laya.Handler.create(this, function(mesh:Laya.Mesh) { //....省略中间 //读取导出的桌子模型 var table = scene.addChild(new Laya.MeshSprite3D(mesh)) as Laya.MeshSprite3D; //给桌子加刚体并且设置刚体属性 var rigidBody = tabl...
来源: Laya2.0_文档 发布时间: 20210714