大约有 137 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0054 秒)
...Config"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].ena...
来源: Laya2.0_文档 发布时间: 20210715
...ta = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99...
来源: Laya2.0_文档 发布时间: 20210714
...DemoUI"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["Physics"].enable...
来源: Laya2.0_文档 发布时间: 20210715
...c/?nav=zh-ts-5-0-7 var mark = 0; if(Laya.Browser.onMiniGame){ Laya.Browser.window.wx.onMessage(function(data){//微信接受信息 if(data.url == "res/atlas/test.atlas" || data.url == "test/1.png" ||data.url == "test/2.png"||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.st...
来源: Laya_社区 发布时间: 20190307
...ta = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99...
来源: Laya2.0_文档 发布时间: 20210715
...sole.log("!____________________________________") var ProtoBuf = Browser.window.protobuf; // Laya.init(550, 400); ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded); function onAssetsLoaded(err, root) { console.log("____________________________________") if (err) throw err; // Obtai...
来源: Laya_社区 发布时间: 20180704
...ta = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99...
来源: Laya2.0_文档 发布时间: 20210715
...+ '</div>' + '</foreignObject>' + '</svg>'; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99...
来源: Laya3.0_文档 发布时间: 20240910
...目 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 ide 2.4 layaair2-cmd 编译报错 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑...
来源: Laya_社区 发布时间: 20161229
...aMaxUI"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].ena...
来源: Laya2.0_文档 发布时间: 20210715