大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...正常 VM291:1 gameThirdScriptError Cannot set property '__proto__' of null TypeError: Cannot set property '__proto__' of null at HTMLCanvasElement.n.getContext (http://127.0.0.1:56214/game/__ ... :23503) at http://127.0.0.1:56214/game/game.js:7:18 at require (http://127.0.0.1:5...
来源: Laya_社区 发布时间: 20180328
...er.load(resArray, Laya.Handler.create(this, () => { this.OnLoaded() }), null, Laya.Loader.ATLAS); }在IOS部分机型,如苹果8上,会出现资源加载出错,截图如附件一所示。 Load(): void { var resArray: Array<any> = [ { url...
来源: Laya_社区 发布时间: 20191030
...ent.MOUSE_DOWN, this, onMouseDown); } private function onMouseDown(e:Event=null):void { var touches:Array = e.touches; if(touches && touches.length == 2) { lastDistance = getDistance(touches); Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); } } private function onMouseMove(e:Event=null):void { v...
来源: Laya2.0_示例 发布时间: 20260303
...bject} CarProtoModel {msg_proto: msg_cs, conf_proto: conf_game, _callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:354:26) at Object.ProtoBuf.loadProtoFile (file:///D:/work...
来源: Laya_社区 发布时间: 20170117
...laya.physics.js:430 Uncaught TypeError: Cannot read property 'GetType' of null at box2d.b2Fixture.GetType (laya.physics.js:430) at box2d.b2ContactFactory.Create (laya.physics.js:576) at box2d.b2ContactManager.AddPair (laya.physics.js:586) at box2d.b2BroadPhase.UpdatePairs (la...
来源: Laya_社区 发布时间: 20191019
...ID: number = 200; public static HEI: number = 20; // private _img: Image = null; private _lb:Label = null; constructor() { super(); this._lb = new Label(); this._lb.size(ListDataSourceItem.WID, ListDataSourceItem.HEI); this.addChild(this._lb); // this._img = new Image(); // this._img.size(ListDataSo...
来源: Laya_社区 发布时间: 20180410
...一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns RadioGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra...
来源: Laya3.0_api 发布时间: 20231115
...为true,根据加载文件个数获取加载进度 Laya.loader.load(arr,null,Laya.Handler.create(this,onProLoaded),null,true,true); } function showProgress() { progressBar=new Laya.Sprite(); progressBar.loadImage("comp/BG1.jpg",50,300); progressBar.width=300; progressBar.sizeGrid="5,5,5,5"; progre...
来源: Laya_社区 发布时间: 20170701
...ndler.create(this, onLoadComplete)); } private function onLoadComplete(e:*=null):void { var cb:ComboBox = createComboBox(skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = false; } private function createComboBox(skin:String):ComboBox { var comboBox:ComboBox = n...
来源: Laya_示例 发布时间: 20260303
... url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工具中报错 Unexpected token in...
来源: Laya_社区 发布时间: 20180108