大约有 1,758 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...3-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/...
来源: Laya_社区 发布时间: 20171116
...ic class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"],...
来源: Laya3.0_api 发布时间: 20231115
...行后就会报下面的错: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
...: 这是跑错的异常: 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
...函数,运行时当然就是报错,找不到定义,内容如下: (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
...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...
来源: Laya_社区 发布时间: 20180108
...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...(A,B两种方法) 报如下错误: value._addReference is not a function 请问现在2。0该如何处理? 附件 : --> 2018-10-01 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 淡淡的疯 ...
来源: Laya_社区 发布时间: 20181001
...复用时就会出现问题,现象如下图所示的 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