大约有 426 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
....aa.shuchu();//输出这个组件num,结果为2,是LayaSample.bb的num console.info(s); }, 1000); } } class Child{ private _num:string; public num(n:string){ this._num = n; } public shuchu(){ return this._num; } } new LayaSample(); 2018-08-05 3 0 分享 微博 QZONE 微信 手撕腊鸭 赞同来...
来源: Laya_社区 发布时间: 20180729
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; Laya.stage.addC...
来源: Laya2.0_示例 发布时间: 20251209
...rototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.dragon_sk._templet) { complete(); } else { Laya.timer.frameOnce(1, this, this.pr...
来源: Laya_社区 发布时间: 20180622
...der.getRes(this._skin); if (!img){ console.log("lose skin",this._skin); return; }; var width=img.sourceWidth; var height=img.sourceHeight / this._stateNum; img.$_GID || (im...
来源: Laya_社区 发布时间: 20191122
...ial = customMaterial; mesh.meshRender.sharedMaterial = customMaterial2; // console.log(mesh4.meshRender.sharedMaterial); shaderDemo.zip 2017-05-25 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 我按你说的改了一下CustomMaterial.js,效果正确了,现在我想不用代码,直接改....
来源: Laya_社区 发布时间: 20170524
...String(rightMargin); _indent = String(indent); _leading = String(leading); console.log("font==="+_font, "size==="+_fontSize, "color==="+_color, "bold==="+_bold, "italic==="+_italic, "underline==="+_underline,"leftMargin==="+_leftMargin, "rightMargin==="+_rightMargin); } } } 附件 : --> DemoLabel.zi...
来源: Laya_社区 发布时间: 20170516
...的webgl项目,其他引擎的项目 把LayaSample.max.js简化为一个console.log('xxx')能跑么 另外你怎么升级的14.2 jason: • 2020-09-24 17:28 @郭兆奎:ios14.2还是beta版本,没有正式推送,还挺多BUG的,腾讯视频什么的都打不开,某些问题是可以忽略...
来源: Laya_社区 发布时间: 20200922
...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } } 附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...
来源: Laya_社区 发布时间: 20181124
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya2.0_示例 发布时间: 20251209
...tring): void { if (this._isInited) { return; } this._filePath = file_path; console.log("Particle3D"); //从拿到的粒子系统克隆一个 var res = Laya.loader.getRes(file_path); var particle = res.clone(); this._particle = particle; //获取这个粒子特效的所有粒子系统,用于后面...
来源: Laya3.0_文档 发布时间: 20251010