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

大约有 4,034 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0079 秒)

1051. 微信小游戏利用开放域好友关系链做排行榜 [ 87%]

...er;  class GameBootstrap{      public constructor(){         this.init();     }      private init():void{         //初始化微信小游戏         Laya.MiniAdpter.init(true);         //程序入口         Laya.init(600, 400,Laya.WebGL);   ...

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

1052. laya接入vivo平台加载资源卡住66% [ 87%]

...wser.onVVMiniGame) {// _http = new HttpRequest(); _http.on(Event.PROGRESS, this, onProgress); _http.on(Event.ERROR, this, onError); _http.on(Event.COMPLETE, this, onLoaded); ////////////////////////////////////////////////////// } else { //...... } 已解决。 2020-11-23 0 0 分享 微博 QZONE 微...

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

1053. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 87%]

...de = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.skin, Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { var cb: ComboBox = this.createComboBox(this.skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = fa...

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

1054. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 87%]

...子切换不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplay...

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

1055. 新版本射线检测不能根据layer检测了 [ 87%]

...有根据layer层 目前是只能给所有碰撞器分组来检测吗? _this.scene.physicsSimulation.rayCast(_this.ray, _this._outHitResult,_this._distance,_this._collisionGroup); 2019-04-19 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

1056. List中如何动态加载多个image,并为每个image添加监听事件? [ 87%]

...监听事件? var Index=(function(_super){ function Index(){ Index.super(this); this.data = ["1tong","2tong","3tong","4tong","5tong","6tong","7tong","8tong","9tong","1tiao","2tiao","3tiao","4tiao","5tiao"]; var _dataSource_=[]; for(var i = 0;i<this.data.length;++i) { var _data_={ skin:"Images/"...

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

1057. 3D粒子特效初始化卡顿 [ 87%]

...有解决方案,以下为示例代码: var sprite= Laya.loader.getRes(this._stlurl) as Laya.Sprite3D; this.skill = Laya.Sprite3D.instantiate(sprite); target.addChild(this.skill); this.Play();   这种卡顿在PC谷歌浏览器上不明显,但手机上就很明显了,另外在IDE的layaair...

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

1058. TypeError: Cannot set property 'material' of undefined [ 87%]

TypeError: Cannot set property 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0))...

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

1059. Native IOS下获取陀螺仪数据为0 [ 87%]

... //设置陀螺仪的处理 Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange);   private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void         {             if (info.alpha === null)             {               ...

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

1060. 请教一下:this.tMap.createMap提示parameters do not match any signature of call target. [ 87%]

请教一下:this.tMap.createMap提示parameters do not match any signature of call target. 2d案例中的加载地图的案例 2018-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 137*****535 赞同来自...

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