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

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

1071. LayaRender问题 Matter在LayaRender下出现不正常问题 [ 64%]

....Constraint, Composite = Matter.Composite, Composites = Matter.Composites, Events = Matter.Events, Query = Matter.Query, Vector = Matter.Vector; var LayaRender = window.LayaRender; var Sprite = Laya.Sprite; var Stage = Laya.Stage; //var Render = Laya.Render; var Browser = Laya.Browser; var WebGL = L...

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

1072. 粒子编辑器报错 [ 64%]

...10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:38985:25) at EventHandler.__proto.run (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:649:27) at TabEx.__proto.event (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:442:53) at Ta...

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

1073. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 64%]

...in/layaScene.lh") as Laya.Sprite3D;  scene.addChild(temp);  temp.on(Laya.Event.HIERARCHY_LOADED,this,()=>  {  this.model = Laya.MeshSprite3D.instantiate(temp,scene) as Laya.MeshSprite3D;  if(index == 0)  {  this.model.transform.position = new Laya.Vector3(0.8,0,0);  }  });    //=======...

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

1074. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 64%]

...; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Ev...

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

1075. laya.media.SoundNode_API3.0 [ 64%]

... loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY source stage staticCache stopEvent target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChild...

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

1076. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 63%]

...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440)     at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702)     at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495)     at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...

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

1077. laya.d3.core.material.PBRMaterial_API3.0 [ 63%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

1078. 【求助】怎么在自定义对象进行实例化的时候,给它绑定监听事件 [ 63%]

...ld(list); } private function onListRender(food):void{ trace(food); food.on(Event.CLICK,this.test); } private function test():void{ trace("test"); }我换了一种思路,是在实例化Food这个对象的时候,在构造函数里,就绑定事件监听函数。但是生成的JS代码,监听范...

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

1079. Laya ide 1.83 导出apk 加载场景失败 [ 63%]

...nd.alone.version/lib ... 189:61) 05-18 09:55:36.987: I/0(27649):     at EventHandler.__proto.runWith (http://stand.alone.version/libs/laya.core.js:726:27) 05-18 09:55:36.987: I/0(27649):     at ResInfo.__proto.event (http://stand.alone.version/libs/laya.core.js:494:28) 05-18 09:55:36.987: I/0(...

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

1080. 请问UI之间的场景切换要怎么写 [ 63%]

...(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = fu...

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