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

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

291. laya.ui.CheckBox_API3.0 [ 50%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

292. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 49%]

...得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.endPoint.y]; //调用A* serach方法获得最...

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

293. [LayaNative3]Laya3.28/9原生打包ISO视频播放闪退 [ 48%]

...VideoRuntimeBase {     onEnable(): void {         Laya.stage.on(Laya.Event.MOUSE_DOWN, () => {             //Laya.loader.load("resources/files/layaAir.mp4").then(() => {                 this.VideoNode.play(); //播放视频             //});         })     } } ...

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

294. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...prite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 test(e: Laya.Event) { //动画状...

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

295. laya.ui.TextArea_API3.0 [ 47%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

296. 关于laya生成的canvas定位问题导致内部事件不正确 [ 46%]

... img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya....

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

297. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 45%]

...et template = new Laya.Templet();             template.on(Laya.Event.COMPLETE, this, function() {                 let skeleton = template.buildArmature(0);                 Laya.stage.addChild(skeleton);                 skeleton.pos(300, 300...

来源: Laya2.0_文档 发布时间: 20210714

298. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...mpents(this._allAgent, sprite.scene, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if...

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

299. lib/arm/liblayaair.so 总是崩溃 [ 43%]

...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...

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

300. HTML文本 · LayaAir3.0文档 · LAYABOX [ 41%]

...k.layabox.com/'>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:H...

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