大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...rite) public sp: Laya.Sprite; onAwake(): void { //创建后期处理实例 this.sp.postProcess = new Laya.PostProcess2D(); //创建变色效果 let colorEffect2D = new Laya.ColorEffect2D(); //创建后期处理效果数组 let effectGroup: Laya.PostProcess2DEffect[] = []; //将变色效果添加到...
来源: Laya3.0_文档 发布时间: 20251010
....5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it...
来源: Laya_社区 发布时间: 20171221
动态添加addComponent(Laya.RigidBody)的问题 1.动态添加 this.owner.addComponent(Laya.RigidBody)后; 在调用 this.owner.removeSelf()后会抛错 : laya.core.js:13190 Uncaught 无法实例class RigidBody extends Laya.Component {... 2.但如果将Laya.RigidBody组件直接挂在预制...
来源: Laya_社区 发布时间: 20200119
... factory = new Templet(); factory.on(Event.COMPLETE, this, onSkeletonDataParsed); // factory.on(Event.ERROR, this, onError); // factory.parseData(texture, data, 60); factory.loadAni("res/Dragon.sk"); } ...
来源: Laya_社区 发布时间: 20160902
...ONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) { this._data = [1]; this.list.array = this._data; this.list.y = 220; this.list.height = 300; } 代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位置也可以解...
来源: Laya_社区 发布时间: 20190919
LayaAir引擎 判断animation是否加载过某个资源 this.aniTemp.loadAtlas(path),什么判断某个path是否加载过 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 没...
来源: Laya_社区 发布时间: 20170809
...r = 1; skeleton.load("dragonBones/chicken/chicken.sk", Laya.Handler.create(this, (e) => { console.log(e); let num = skeleton.getAnimNum() let name = skeleton.getAniNameByIndex(num - 1); skeleton.play(name) })); this.owner.addChild(skeleton); 2019-04-16 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20190416
...ole.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.parent); console.log(this.name); } }这个同样是null export default class game_mgr extends Laya.Script { constructor() { super(); console.log(this.owner); } } 附件 : --> 2019-09-04 添...
来源: Laya_社区 发布时间: 20190904
... __proto.uploaderHandler=function (files) { var self=this; var file=files[0]; var reader=new FileReader(); reader.onload=function () { this.headIcon.loadImage(this.result); 或者 this.headIcon.skin=thi...
来源: Laya_社区 发布时间: 20170808
...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 duration: number 花费的时间,单位毫秒。 Default value ease: Function | null = null 缓动类型,默认为匀速运动。 Default value complete: Handler | ...
来源: Laya3.0_api 发布时间: 20231115