大约有 1,740 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0065 秒)
...类里的Storage 类里的init()方法 (第94行), public static function init():void { __JS__("try{Storage.items=window.localStorage;Storage.setItem('laya', '1');Storage.removeItem('laya');Storage.support = true;} catch(e){}if(!Storage.support)console.log('LocalStorage is not supprot or b...
来源: Laya_社区 发布时间: 20180703
...3d场景中,会报 Uncaught TypeError: this.owner.localToGlobal is not a function TypeError: this.owner.localToGlobal is not a function, 2d的实现似乎并不是3d忽略一个轴这样的方式,它们是不同的坐标系统,所以不通用,而我这边需要用3D的场景和模型,这条路也不...
来源: Laya_社区 发布时间: 20190714
... Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){ dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3") })) let mainSound:Laya.SoundChannel = null; this.btn_sound.on(Laya.Event.CLICK,...
来源: Laya_社区 发布时间: 20190716
...ass SocketSample { public var socket:Socket; private var byte:Byte; public function SocketSample() { //初始化引擎 this.byte = new Byte(); this.byte.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端; this.socket = new Socket(); this.socket.endian = Byte.LITTLE_ENDIAN;//这里我们采用...
来源: Laya_社区 发布时间: 20180202
...加载管理器,使用时注意大小写。 */ //class Laya var ___Laya=(function(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTi...
来源: Laya_社区 发布时间: 20200426
...的 无法显示微信开放域。 报错:value._addReference is not a function 按照论坛里面以前的一些讨论,修改了laya.core.js里面 value && (value._addReference(this._referenceCount)); =》 if(value && value._addReference){ value._addReference(this._referenceCoun...
来源: Laya_社区 发布时间: 20181222
... */ public static var parseXMLFromString:Function = function(value:String):XmlDom { var rst:*; value = value.replace(/>\s+</g, '><'); __JS__("rst=(new DOMParser()).parseFromString(val...
来源: Laya_社区 发布时间: 20180126
...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
...建 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
...则值为 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