大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...行后就会报下面的错: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
...成在具体的使用说明: 主域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAdpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.stage.bgColor = "#ffffff"; if (Brow...
来源: Laya_社区 发布时间: 20180525
...函数,运行时当然就是报错,找不到定义,内容如下: (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
...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...复用时就会出现问题,现象如下图所示的 bullet.pos is not a function的报错。移除碰撞组件或者不发生碰撞就一切正常。 附件 : --> TestCollider.zip 2024-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20240813
...东西崩溃了吗 laya加载unity插件导出的场景 physics3D is not a function Laya2.12项目 左上角出现笑脸,是什么东西崩溃了吗 射线惊天大bug之physics3D physics3D中使用CharacterController组件如何改变模型朝向 求解Physics3D 内存占用问题 layabox2.5.0之...
来源: Laya_社区 发布时间: 20230519
...义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满足编译的要求即可。...
来源: Laya_社区 发布时间: 20170321
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
...t rb rt width x y ID getBoundPoints recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115