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

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

341. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 57%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

342. 【简单跑酷--JS版】---Lv.6 终篇 [ 57%]

...events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var i = this.mapFloor.numChildren - 1; i > -1; i--){ var floor = this.mapFloor.getChildAt(i); ...

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

343. laya.ui.Button_API3.0 [ 56%]

...te(this,onClickButton,[button],false);//设置 button 的点击事件处理函数。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } function onClickButton(button) { console.log("按钮被点击了。",button); } example import Button=laya.ui.Button; import Handler=laya....

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

344. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 56%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

345. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 56%]

...); script.src = "demo1.js"; script.onload = function():void{ //加载完成函数,开始调用模块的功能。 //new一个js中的对象 var client:any = new Laya.Browser.window.Demo1(); client.start(); } script.onerror = function():void{ //加载错误函数 } Laya.Browser.document.body.appendC...

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

346. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 55%]

... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...

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

347. 2.x引擎项目升级说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

...D和3D统一接口, 都可以通过事件监听方式和Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { console.log("clicked"); } } aNode.addCompo...

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

348. laya.ui.CheckBox_API3.0 [ 54%]

...lickHandler Defined in laya/ui/Button.ts:628 对象的点击事件处理器函数(无默认参数)。 implements Returns Handler Inherited from Button.clickHandler Defined in laya/ui/Button.ts:632 对象的点击事件处理器函数(无默认参数)。 implements Parameters value: Handler R...

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

349. 为什么会出现报错 ani not found:ufo1_down [ 54%]

... lingann_game • 2017-05-25 18:59 你好,断点后,发现是lostHp()函数中的这段代码出现问题,这段代码并没有执行。而要给isButtel设定为true,才能执行(视频教程中的默认为false)。我想知道role.isBullet的true是怎么来的。如果可以,希望能...

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

350. laya.net.LoaderManager [ 53%]

... 资源类型。  constructParams:Array (default = null) — 资源构造函数参数。  propertyParams:Object (default = null) — 资源属性参数。  priority:int (default = 1) — (default = 1)加载的优先级,优先级高的优先加载。有0-4共5个优先级,0最高,4最低。 ...

来源: Laya2.0_api 发布时间: 20190513