大约有 1,758 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...ugtool调试报错了 Uncaught TypeError: sprite._getBoundPointsM is not a function at Function.showDisBound (laya.debugtool.js:3365) at dhtmlXTreeObject.<anonymous> (laya.debugtool.js:4840) at dhtmlXTreeObject.e.callEvent (eval at init (laya.debugtool.js:4050), <anonymous...
来源: Laya_社区 发布时间: 20200420
...AxisEvent addAxisEvent(index: number, type: string, caller: any, listener: Function): void Defined in laya/d3/WebXR/core/WebXRInput.ts:164 add axis event Parameters index: number axis索引 type: string 事件类型 caller: any 事件侦听函数的执行域。 listener: Function 事件侦听函数...
来源: Laya3.0_api 发布时间: 20231115
...lves to true if supported and false if not 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
...测到碰撞信息后删除对方。 PlayerMove.prototype.onTriggerStay = function (other) { this.tsizex = this.box._components[0]._transformOrientedBoundBox.extents.x; this.tsizez = this.box._components[0]._transformOrientedBoundBox.extents.z; this.osizex = other._transformOrientedBoundBox.extents....
来源: Laya_社区 发布时间: 20181017
...Width=false; var windowOnWidth=true; var isIos=true; window.top.onresize = function () { var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { isIos=false; }else if(!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)){ isIos=true; } var windowWidth=true; if(window.doc...
来源: Laya_社区 发布时间: 20190313
...11:56:05 WAGame.js:4 gameThirdScriptError document.createTextNode is not a function TypeError: document.createTextNode is not a function at u (http://127.0.0.1:23181/game/code.js:10:31792) at s (http://127.0.0.1:23181/game/code.js:10:31291) at n (http://127.0.0.1:23181/game/code.js:10:30084) at e.ex...
来源: Laya_社区 发布时间: 20180613
...@return 返回Tween对象。 */ public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween { return _create(target, props, duration, ease, comple...
来源: Laya_社区 发布时间: 20180621
...是出现 ProgressBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom对象实例 var m...
来源: Laya_社区 发布时间: 20180316
...ork { /*[COMPILER OPTIONS:ForcedCompile]*/ public class Framework { public function Framework() { } } }package cn.ztgames.st.Framework { public class CLassA { public function CLassA() { } } }分包文件内容:(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__...
来源: Laya_社区 发布时间: 20161213
...@ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21) at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:11) at ht...
来源: Laya_社区 发布时间: 20180510