大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: class test_HelloLaya { constructor() { //创建舞台,默认背景色是黑色的 Laya.init(1280, 720); var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色为白色,默认颜色...
来源: Laya_社区 发布时间: 20190519
...f undefined 2.0.0编译报错Cannot find global type 'Array' Warning!,this class[MiniAdpter] already exist: Object {init: } Uncaught TypeError: Cannot read property 'props' of undefined 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 鼠标自定义样式官...
来源: Laya_社区 发布时间: 20180424
...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) 2019-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20190116
...没有报错 zl18510521186 • 2018-03-28 16:36 就有一个Warning!,this class[MiniAdpter] already exist: Object {} 这个,其他的没有
来源: Laya_社区 发布时间: 20180328
...ndler(data) { alert(2); } function completeHandler(e) { alert(1); } } Laya.class(JiHuo, "ui.JiHuo", _super); return JiHuo; })(ui.JiHuoUI); 2018-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞...
来源: Laya_社区 发布时间: 20180419
...0, 0, 0); function CmpScript() { CmpScript.super(this); this.x = 0; } Laya.class(CmpScript, "CmpScript", Laya.Script) CmpScript.prototype._initialize = function (owner) { var _this = this; CmpScript.__super.prototype._initialize.call(this, owner); } CmpScript.prototype._update = function (state) { C...
来源: Laya_社区 发布时间: 20161126
...14,设置了sprite的pivot和pos,结果位置不正确 // 程序入口 class GameMain { private sp: Laya.Sprite; constructor() { Laya.init(2000, 1500); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" this.sp = new Laya.Sprite(); let width = 660 let height = 420 this.sp.size(width, height)...
来源: Laya_社区 发布时间: 20171230
...nction Role () { Role._super.call(this); /***一些基础信息***/ } Laya.class( Role , "Role" , Sprite ); var _proto_ = Role.prototype; /******/ return Role; })(); 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...
来源: Laya_社区 发布时间: 20181012
...ror: LayerManager is not a constructor的错误 我看到Laya有一个Laya.class的方法,请问这个能解决这个问题吗 2017-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: TS...
来源: Laya_社区 发布时间: 20171212
API DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public...
来源: Laya2.0_api 发布时间: 20190513