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

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

571. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 77%]

....Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接; this.byte.writeByte(1);//写入一个字节 this.byte.writeInt16(20);//写入一个int16的数据 this.byte.writeFloat32(20.5);//写入一个32位的浮点数据 this.byte.writeUTFString(...

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

572. 加载-错误处理和进度 [ 77%]

...urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); })(); function onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 function onLoading...

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

573. 2.3.0beta 各种bug [ 77%]

...(this._style = SpriteStyle.create());             if( this._style == null){                 this._style = SpriteStyle.create()             }             return this._style;         }     core.js vivo下getJSON报错兼容 static getJSON(key) {                 ...

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

574. laya.ui.Button [ 77%]

...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

575. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 77%]

...erty 'props' of undefined TypeError: Cannot read property 'm_jointList' of null 【新手求助】播放动画问题 Uncaught TypeError: Cannot read property 'addState' of undefined 打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined 寻求帮助 Uncaught TypeError: ...

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

576. laya.ui.ColorPicker [ 77%]

...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

577. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 77%]

...Text.y = 300; //Tween.from(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000);//注释本行改为将Tween.from改变为Tween.to Tween.to(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000); ``` 运行效果如动图3所示 ![动图3.gif](img/3.gif)(动图3) 结合代码...

来源: Laya2.0_文档 发布时间: 20210715

578. laya.d3.math.Color [ 77%]

...:*):void 克隆。 Color  forNativeElement(nativeElements:Float32Array = null):voidColor  toGamma(out:Color):void 线性空间转换到Gamma空间。 Color  toLinear(out:Color):void Gamma空间转换到线性空间。 ColorPublic Constants ConstantDefined By  BLACK : Color[static] 黑色 Co...

来源: Laya2.0_api 发布时间: 20190513

579. 基本效果已经实现,想用for批量绑定事件 [ 77%]

... } function Haha(obj,yy,times1,alphas,times2) { Tween.to(obj,{y:yy},times1,null,Handler.create(this,function() { Tween.to(obj.loadtext,{alpha:alphas},times2,null,null,0); })); } 2017-06-26 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 c...

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

580. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 77%]

...ector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...

来源: laya_api 发布时间: 20170929