大约有 4,338 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2450) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(25)
...需要分组。 * 分组资源在地图变化时自动销毁 * **/ public function Load(url:String,isGroup:Boolean):void { _path = UrlConfig.EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:String = nul...
来源: Laya_社区 发布时间: 20180425
...e(this,this.onLoaded)); } private createButton(skin: string,name:string,cb:Function,index:number): Button { var btn: Button = new Button(skin,name); Laya.stage.addChild(btn); btn.on(Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return b...
来源: Laya2.0_示例 发布时间: 20241126
...er.playByFrame(0,1.0,0,40,72,30); anifish.on(Event.COMPLETE,this,complete) function complete(){ alert(1) } Monica • 2017-09-27 14:22 @haiboannacom:Event前边加个Laya.看看 haiboannacom • 2017-09-27 14:25 @Monica:第三条鱼我加了这个了。也不行。anifish2那个。那个加了Laya...
来源: Laya_社区 发布时间: 20170926
...rrainScene/XunLongShi.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/...
来源: Laya_示例 发布时间: 20241126
... 设置panel.vscrollBar.value=panel.vscrollBar.max 完毕 示例:public function Main() { Laya.init(1240,800,WebGL); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img...
来源: Laya_社区 发布时间: 20161103
...下! 2017-03-03 0 0 分享 微博 QZONE 微信 a694284699 赞同来自: (function() { var Stage = Laya.Stage; var Button = Laya.Button; var Dialog = Laya.Dialog; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var DIALOG_WIDTH = 220; var DIALOG_HEIGHT = 275; var CLOSE_B...
来源: Laya_社区 发布时间: 20170303
...vered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program. Specifically, your app contains functionality to load a webview of external content within the ap...
来源: Laya_社区 发布时间: 20190730
... y: 0, width: 1280, height: 720, destWidth: 1280, destHeight: 720, success:function(res:Object):void{ imagePath = res.tempFilePath;//这个就是截屏的图片地址,可以将图片生成到相册,也可以使用这个地址用来里显示 wx.saveImageToPhotosAlbum({ filePath:imagePath, success...
来源: Laya_社区 发布时间: 20190515
ide发布web后报错 Uncaught TypeError: this.preinitialize is not a function at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at GameUI (layaUI.max.all.js:9) at Function.<anonymous> (laya.core.min.js:1) at t (main.min.js:4) at...
来源: Laya_社区 发布时间: 20171205
....module.shape.SphereShape",e);var n=t.prototype;return n._getShapeBoundBox=function ReferenceError: ConchShader is not defined ...
来源: Laya_社区 发布时间: 20180428