大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...dedMap) { var t:Texture = null; if(Loader.loadedMap[i] is Texture) { t=Loader.loadedMap[i]; t.destroy(); ...
来源: Laya_社区 发布时间: 20170113
...dth问题 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 问题状态 最新活动: 2016-12-27 22:23 浏览: 1478 关注: 2 人 c416288806...
来源: Laya_社区 发布时间: 20161227
...th.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null) 这个Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null)是不是写错了。。。应该怎么写啊。假设我要移动他到x为-1.z为-1 2017-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170918
...行 */ public function FontClip(skin:String = null, sheet:String = null) { 2018-04-16 1 1 分享 微博 QZONE 微信 w1114367261 赞同来自: 你没有设置FontClip的内容哦(sheet) 2018-04-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20180414
...prototype["onPlayAgain"] = function onPlayAgain(): void { if (this._ele == null) { console.warn(`HTMLAudioChannel.onPlayAgain _ele is null, url=${this.url}`); return; } return window["Laya.HTMLAudioChannel.onPlayAgain"].call(this); } 你可以试试暂时重写这个方法 等修复了再注释调 ...
来源: Laya_社区 发布时间: 20251014
...注意:不缓存 然而它的实现调用的是 Laya.loader.create(url, null, null, Scene); 但是create的第7个参数,cache默认是true。 也就是说Laya.Scene.load的注释不太对。 不知道是不是这个原因,请官方答疑。 2018-09-07 0 0 分享 微博 QZONE 微信 古 赞...
来源: Laya_社区 发布时间: 20180907
...ue maxCount: number = 2 最大线段数量。 Default value name: string = null 名字。 Returns PixelLineSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node....
来源: Laya3.0_api 发布时间: 20231115
...c static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween", Tween)._create(target, props, duration, ease, complete, d...
来源: Laya_社区 发布时间: 20180425
...接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传入,会报错。 请问现在怎...
来源: Laya_社区 发布时间: 20190624
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115