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

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

151. 动画播放完回调函数内,物体的坐标轴错乱 [ 69%]

...体的坐标轴错乱 我在动画播放完的函数_ani.on(Event.STOPPED,this,ruturnRoad)的ruturnRoad方法内移动一个已经创建好的物体,发现这个物体的坐标轴错乱,原来X轴变为Z轴,原来Z轴变为X轴,物体坐标原来的坐标也改变了 2017-12-21 添加评论 ...

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

152. laya.ui.ProgressBar_API3.0 [ 69%]

...resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { progressBar = new ProgressBar("resource/ui/progress.png");//创建一个 ProgressBar 类的实例对象 progressBar 。 progressBar.x = 100;/...

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

153. 在浏览器里打开游戏退出时游戏会执行什么? [ 69%]

在浏览器里打开游戏退出时游戏会执行什么? this.on(Laya.Event.REMOVED,this,this.releaseUp); 我之前执行过这个方法。。但是这个方法必须是当前界面销毁或者移除的时候才执行。。如果在浏览器里,我点关闭或者手机上点返回。。那这...

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

154. 复选框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.selected = true; this.checkbox.label = "多选框"; this.checkbox.labelBold = true; this.checkbox.labelSize = 30; this.checkbox.labelColors = "#0100ff, #16fa0e, #ff0000"; //各状...

来源: Laya3.0_文档 发布时间: 20251010

155. 苹果上架问题, [ 69%]

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

156. list中加的button不能接收点击事件 求一个list中加button的demo [ 69%]

...  }         let list = new Laya.List;         list.width = this.itemList.width;         list.height = this.itemList.height;         list.x = this.itemList.x;         list.y = this.itemList.y;         list.spaceY = 12;         list.vScrollBarSkin = ""...

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

157. 内置骨骼动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...en((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继续播放...

来源: Laya3.0_文档 发布时间: 20251010

158. 照相机-正交相机 [ 68%]

.../LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _translate); layaMonkey.transf...

来源: Laya_示例 发布时间: 20260815

159. 动画监听回调怎么会无限成倍调用 [ 68%]

动画监听回调怎么会无限成倍调用 this.star.on(Laya.Event.COMPLETE, this, function () { 解决这个问题·两天了·我差点怀疑我的智商,写了好几遍正确的递归思路。结果就是成倍调用, 最后发现是 我在递归方法里面监听动画播放完毕,第...

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

160. laya.d3.core.Camera_API3.0 [ 68%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Camera Overrides RenderableSprite3D.clone Defined in laya/d3/core/Camera.ts:758 Returns Camera contains contains(node: Node): boolean Inherited...

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