大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...romise) DOMException: play() 导微信小程序报错window.focus is not a function 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 runtime运行报错! 用了ByteArray的zlib.min.js后报错 问题状...
来源: Laya_社区 发布时间: 20180823
...是100%显示,$pic.loadImage(_pic, 14, 192, 0, 0, Handler.create(this, function(){ $pic.height = 246; $pic.scaleX = $pic.scaleY; trace("$pic.width:" + $pic.width); })); 请问:我用原生上传了一张图片,然后传給layaAir,这个图片的scale是未知的,我无法...
来源: Laya_社区 发布时间: 20170503
...ivate *分析文本换行。 */ __proto.parseLines=function(text){ var needWordWrapOrTruncate=this.wordWrap || this.overflow==Text.HIDDEN; if (needWordWrapOrTruncate){ var wordWrapWidth=this.getWordWrapWidth(); ...
来源: Laya_社区 发布时间: 20180526
...f undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29) at http://127.0.0.1:52880/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:52880/game/c...
来源: Laya_社区 发布时间: 20180504
...是关闭排行榜的代码://移除排行榜 _proto.closeCloudStorage = function () { if (LayaSample.refract && Laya.stage.contains(LayaSample.refract)) LayaSample.refract.removeSelf();//折射层移除舞台 if (Laya.stage.contains(LayaSample.spriteLeaderboard)) {//从舞台移除 LayaSa...
来源: Laya_社区 发布时间: 20180906
在使用资源版本控制时,URL.formatURL中有个bug public static function formatURL(url:String, base:String = null):String { if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat !=...
来源: Laya_社区 发布时间: 20171213
... 2018-03-07 0 1 分享 微博 QZONE 微信 bepa_wang 赞同来自: public function MainView() { super(); mainCan = new Sprite(); Laya.stage.addChild(mainCan); ...
来源: Laya_社区 发布时间: 20180306
...scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.transform.localPosition = new Laya.Vector3(8.937199060699333, 61...
来源: Laya2.0_文档 发布时间: 20210715
...scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.transform.localPosition = new Laya.Vector3(8.937199060699333, 61...
来源: Laya2.0_文档 发布时间: 20210715