大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...0;i<10;i++)(){ game.box.getChildAt(i).zOrder=100-i; }; last_one() function last_one(){ var n=game.box.numChildren; game.box.removeChildAt(n-1); }; //默认zOrder最大的为第一个; 2018-03-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180305
...入某个节点,像addChild那样嵌入 HallView.prototype.OnClickOneGou=function(){ this.frame=Laya.Browser.document.createElement("iframe"); this.frame.width=this.con.width; this.frame.height=850; this.frame.style.margin="0"; this.frame.style.padding="0"; this.frame.style.left="0"; this.frame.st...
来源: Laya_社区 发布时间: 20190316
...esourceManager类里面有个大图管理数量,默认是6 public static function __init__():void { atlasTextureWidth = 2048; atlasTextureHeight = 2048; maxTextureCount = 6; atlasLimitWidth = 512; atlasLimitHeight = 512; } 当图量超标时就会出现破图;总算找到问题所在了; 2019-...
来源: Laya_社区 发布时间: 20190111
...码都是作用重复,望精简。保留onClosed 即可 __proto.doClose=function(dialog,type){ dialog.removeSelf(); dialog.isModal && this._checkMask(); dialog.closeHandler && dialog.closeHandler.runWith(type); dialog.onClosed(type); } 2018-09-14 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180914
...同来自: AstarMap 和HeightMap unity 就可以直接生成。 public function Texture2D(width:int = 0, height:int = 0, format:int = FORMAT_R8G8B8A8, mipmap:Boolean = true, canRead:Boolean = false) 最后一个参数 2019-04-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20181120
...iaoman122 赞同来自: Laya.loader.load("res/1.pkm", Handler.create(null, function():void { var spr:Sprite = new Sprite(); spr.loadImage("res/1.pkm"); spr.pos(100, 100); Laya.stage.addChild(spr); }), null, Loader.IMAGE); 附件就是tp转的图片,这个是加载的代码 ...
来源: Laya_社区 发布时间: 20181219
...axUI.ts有前缀导致报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? runtime运行报错! 用了ByteArray的zlib.min.js后报错 排行榜的创建 问题状态 最新活动: 2018-09-01 20:43 浏览: 1057 关...
来源: Laya_社区 发布时间: 20180901
...2018-04-16 14:39 浏览: 1190 关注: 2 人 wq • 2018-04-16 15:25 public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingView"); 通过loading方法...
来源: Laya_社区 发布时间: 20180416
.../LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Laya.Handler.create(this,function(s){ Laya.stage.addChild(s); })); ``` (图6)
来源: Laya2.0_文档 发布时间: 20210715
.../LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Laya.Handler.create(this,function(s){ Laya.stage.addChild(s); })); ``` (图6)
来源: Laya2.0_文档 发布时间: 20210715