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

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

1. TimeLine调用destroy报错&执行完成后回到起点 [ 100%]

...vate function createTimerLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, scaleY:0.2, al...

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

2. laya.utils.Tween_API3.0 [ 95%]

...tils/Tween.ts:201 立即结束缓动并到终点。 Returns void from from(target: any, props: any, duration: number, ease?: Function | null, complete?: Handler | null, delay?: number, coverBefore?: boolean): Tween Defined in laya/utils/Tween.ts:100 从props属性,缓动到当前状态。 Paramete...

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

3. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 87%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 关于同为object层,层...

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

4. 使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? [ 86%]

...eLoaded(event:Event):void { // TODO Auto-generated method stub trace(event.target.data is ByteArray) var ba:ByteArray=event.target.data as ByteArray; l=new Loader(); l.contentLoaderInfo.addEventListener(Event.COMPLETE,onImage2Loaded); l.loadBytes(ba); urlLoader.removeEventListener(Event.COMPLETE,onI...

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

5. 自己写了个label继承官方的label,出现了问题,求指导~ [ 85%]

...lse, italic:Boolean = false, underline:Boolean = false, url:String = null, target:String = null, align:String = null, leftMargin:Object = null, rightMargin:Object = null, indent:Object = null, leading:Object = null) { //Config.fontName, 18, LIST_LABEL_COLOR, //false, false, false, //null, null, Text...

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

6. Tween文件内发现一个bug [ 84%]

...有了 //如果对象被销毁,则立即停止缓动 /*[IF-FLASH]*/if (target is Node && target.destroyed) return clearTween(target); //[IF-JS]if (target.destroyed) return clearTween(target); [IF-JS]if (target != null && target.destroyed) return clearTween(target); ? 2017-03-13 添...

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

7. laya.utils.TimeLine_API3.0 [ 84%]

...者,如果有侦听者则值为 true,否则值为 false。 from from(target: any, props: any, duration: number, ease?: Function, offset?: number): TimeLine Defined in laya/utils/TimeLine.ts:95 从 props 属性,缓动到当前状态。 Parameters target: any target 目标对象(即将更改属...

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

8. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 83%]

..."y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":2},{"value":1,"tw...

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

9. laya.ui.UIUtils_API3.0 [ 83%]

...新增值得类型。 Returns any[] 填充后的数组。 Static gray gray(target: Sprite, isGray?: boolean): void Defined in laya/ui/UIUtils.ts:47 给指定的目标显示对象添加或移除灰度滤镜。 Parameters target: Sprite 目标显示对象。 Default value isGray: boolean = true 如果...

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

10. laya.d3.core.render.PostProcessRenderContext_API3.0 [ 82%]

...ra command compositeShaderData deferredReleaseTextures destination indirectTarget source Methods createRTByContextReleaseTexture Properties camera camera: Camera | null = null Defined in laya/d3/core/render/PostProcessRenderContext.ts:18 渲染相机。 command command: CommandBuffer | null = null D...

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