大约有 4,338 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0083 秒)
Laya_社区(2450) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(25)
...st clean = require('gulp-clean') let staticVersion = {} gulp.task('clean', function () { return gulp.src('./src/assets/*', {read: false}).pipe(clean()) }) /** 创建文件hash清单 */ gulp.task('create:hash',['clean'], () => { return gulp.src([ './server/static/**/*.atlas', './server/static/**/*...
来源: Laya_社区 发布时间: 20180412
... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) at Function.MiniAdpter.enable (laya.wxmini.js:19) at Function.Browser.__init__ (laya.core.js:8643) at Object.Laya.init...
来源: Laya_社区 发布时间: 20181019
...动,建议你可以精简下,如下 //向上滑动效果 _pro.shang = function (){ var self = this; num++; if(num==1){ Haha(this.loadnew1,-1030,300,0,100,0); Haha(this.loadnew2,0,300,1,500); Haha(this.loadnew3,1030,300,0,500); } if(num==2){ Haha(this.loadnew1,-2060,300,0,100); Haha(this.loadnew2...
来源: Laya_社区 发布时间: 20170626
...建 Parameters url: string Returns boolean 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
...this, closeHandler); this.socket.on(Laya.Event.ERROR, this, errorHandler); function openHandler(event){ //正确建立连接; console.log("链接"); } function receiveHandler(msg){ ///接收到数据触发函数 console.log("接受"); } function closeHandler(e){ //关闭事件 console.log("关闭"...
来源: Laya_社区 发布时间: 20180125
...Properties Show Inherited Public Properties PropertyDefined By _filter : Function[static] Filter renderFunc : *BlurFilter strength : Number模糊滤镜的强度(值越大,越不清晰 BlurFilter strength_sig2_2sig2_gauss1 : ArrayBlurFilter strength_sig2_native : Float32ArrayBlurFilte...
来源: Laya2.0_api 发布时间: 20190513
...t(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFishWithType (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/common/CFSprite.js:28:14) at GameView.addFinsh (file:///Users/heboyce/Deskto...
来源: Laya_社区 发布时间: 20180404
...距离 private var lastDistance:Number = 0; private var sp:Sprite; public function Interaction_Scale() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.s...
来源: Laya2.0_示例 发布时间: 20241126
...享 微博 QZONE 微信 GameMonkey 赞同来自: 补充下主要的代码(function(global){ var Laya3D = global.Laya3D; var Laya = global.Laya; Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res...
来源: Laya_社区 发布时间: 20200611
...二进制数据,APP直接崩溃了,这是什么原因呢 doMsg:function(){ if(this.msgs.length == 0 || !this.workDone){ return; } ...
来源: Laya_社区 发布时间: 20180410