大约有 1,740 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0060 秒)
... 个回复 nieyiwei 赞同来自: private var _guideImage:Image; public function main():void { _guideImage = new Image(); _guideImage.source = Loader.getRes("source/png/ui/1/guideImg.png"); tweenGuide1(_guideImage ); Tween.clearAll(_guideImage); _guideImage.destroy(true); ...
来源: Laya_社区 发布时间: 20161216
... { private var _templet:Templet; public function CombatRole() { super(); initView(); } private function initView():void { _templet ...
来源: Laya_社区 发布时间: 20170204
...自动转成以下JS并报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPowe...
来源: Laya_社区 发布时间: 20170731
怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...
来源: Laya_社区 发布时间: 20180807
...ters ctx: any x: number y: number Returns void set_onclick set_onclick(fn: Function): void Defined in laya/utils/IStatRender.ts:26 点击性能统计显示区域的处理函数。 Parameters fn: Function Returns void show show(x?: number, y?: number, views: any): void Defined in laya/utils/IStatRend...
来源: Laya3.0_api 发布时间: 20231102
...如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.ca...
来源: Laya_社区 发布时间: 20170323
...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...
来源: Laya3.0_api 发布时间: 20231115
...read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined at t.<anonymous> (https://usr/game.js:49:8301) at e.n._parse (https://usr/game.js:66:1995) at Function.t._createNodeByJson (http...
来源: Laya_社区 发布时间: 20190510
... TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){ function Test(){ Test.super(this); }; Laya.class(Test, "Test", _surper); return Test; })(ui.TestUI); 报错Uncaught TypeError: Cannot read property 'call' of...
来源: Laya_社区 发布时间: 20170621
...nit(650, 316, Laya.WebGL); var bg1 = null; var bg2 = null; var box = null; function bg_rolling() { box = new laya.display.Sprite(); Laya.stage.addChild(box); bg1 = new laya.display.Sprite(); bg1.loadImage("res/bg1.png"); box.addChild(bg1); bg2 = new laya.display.S...
来源: Laya_社区 发布时间: 20160721