• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)

3701. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 50%]

...行后就会报下面的错:Error: Mismatched anonymous define() module: function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const t = require("./test/TestExportClass"); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); c...

来源: Laya_社区 发布时间: 20171116

3702. LayaAir3D UnityPlugin 1.7.16 [ 50%]

...: 这是跑错的异常: Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataManager:saveLayaParticleLmatData(Mat...

来源: Laya_社区 发布时间: 20180907

3703. 关于分包的问题,是否是编译器bug? [ 50%]

...函数,运行时当然就是报错,找不到定义,内容如下: (function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new ...

来源: Laya_社区 发布时间: 20170209

3704. 程序可以运行,但是过一段时间会出现Uncaught TypeError: Cannot read property 'font' of null错误,如何修改代码 [ 50%]

...xt was not allowed to start. 导微信小程序报错window.focus is not a function 微信小程序 发布后缺少app.json文件 问题状态 最新活动: 2017-11-03 15:24 浏览: 766 关注: 3 人 melody0529 • 2017-11-06 10:38 怎么清,用clear吗?

来源: Laya_社区 发布时间: 20171103

3705. 在线急等,发现你们这个编译器一个bug,不能实现负负得正 [ 50%]

...享 微博 QZONE 微信 l13273866189 赞同来自: _proto_.moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.stageHeight ||this.ball.y + this.vy <= 0) { th...

来源: Laya_社区 发布时间: 20171107

3706. 加载不了模型 [ 50%]

...-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function onCreateComplete() {    var mesh = Laya.loader.getRes("cj\cj-default001.lm");   var meshSprite3D = new Laya.MeshSprite3D(mesh);   this.scene.addChild(meshSprite3D); } //modelshow = new Laya.MeshSprite3D(Laya.Mesh...

来源: Laya_社区 发布时间: 20180427

3707. IDE创建3D示例项目(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 50%]

...innPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

来源: Laya2.0_文档 发布时间: 20210714

3708. Tween.to 中 用Ease.circIn 做 加速运动 能设置初试速度吗 ?默认是 0 能改成别的吗?如果能?怎么改? [ 50%]

...时间。 * @return 指定时间的插补属性的值。 */ public static function circIn(t:Number, b:Number, c:Number, d:Number):Number { return -c * (Math.sqrt(1 - (t /= d) * t) - 1) b; }   2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

来源: Laya_社区 发布时间: 20180408

3709. laya.display.cmd.DrawPieCmd_API3.0 [ 50%]

...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231115

3710. LayaAirIDE构建的iOS包加入网易七鱼后崩溃,报错信息curl_easy_perform failed, code=35 [ 50%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2018-08-22 15:34 浏览: 1077 关注: 2 人 zhubenshuli • 2018-08-22 16:29 是的,是在iOS项目里pod了网易...

来源: Laya_社区 发布时间: 20180822