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

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

1311. 后期处理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 83%]

...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

1312. 苹果上架问题, [ 83%]

....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

1313. 动态添加addComponent(Laya.RigidBody)的问题 [ 83%]

动态添加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

1314. Templet资源删除不掉 [ 83%]

... 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

1315. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 83%]

...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

1316. 判断animation是否加载过某个资源 [ 83%]

LayaAir引擎 判断animation是否加载过某个资源 this.aniTemp.loadAtlas(path),什么判断某个path是否加载过 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 没...

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

1317. 龙骨动画demo [ 83%]

...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

1318. 获取不到父物体 节点 [ 83%]

...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

1319. 通过html的input类型file上传图片,然后通过FileReader获取图片数据之后设置laya的image.skin图片不显示 [ 83%]

... __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

1320. laya.utils.Tween_API3.0 [ 83%]

...属性列表,比如{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