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

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

311. laya.net.LoaderManager_API3.0 [ 56%]

...xternals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中...

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

312. layaair3D导出场景错误TypeLoadException [ 56%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) 那个大大知道这是怎么回事,,layaair3D插件版本是1.7.16、unity版本5.6.5f1 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

313. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 56%]

...qianxiao * @Date: 2017/12/25 * @Time: 下午3:52 * @Desc: 字体样式 **/ class TextFormat implements ITextFormat { /** * 背景色 */ bgColor: string; /** * 是否加粗 */ bold: number; /** * 文本框背景色 */ borderColor: string; /** * 文本颜色 */ color: string; /** * 字体 */ font: str...

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

314. ProgressBar 代码问题 [ 56%]

...g.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onloading extends ui.LoadingUI{        constructor(){        super();        this.loadingBar.changeHandler = new Handler(this, this.onChange); } public changeValue():void{        console.log("change"); ...

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

315. [2.2.0] ColorFilterSetter组件无法使用 [ 56%]

...不多说直接看例子    undefined preload.js:55 Error: "Can not find class laya.effect.ColorFilterSetter" laya.core.js:29646 at getCompInstance (file:///D:/WQSG/Documents/testLayaFont/testLayaFont2/bin/libs/laya.core.js:29646:13)   at createComp (file:///D:/WQSG/Documents/testLayaFont/testLay...

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

316. 请问如何使我的自定义类UIDropBox继承Laya.Sprite? [ 56%]

...fined console.log(this._super);//undefined this.addChild(this.txt); } Laya.class(UIDropBox, "UIDropBox", Sprite); UIDropBox.prototype = { getTextFeild: function () { var text = new Text(); text.overflow = Text.VISIBLE; text.color = "#FFFFFF"; text.fontSize = 20; return text; } } return UIDropBox; })...

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

317. 我照的列子做,Protobuf,结果报错! [ 56%]

...r   ts code: ============================================================ class Game{    private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf;     ... }     err code: ============================================================ TypeError: Cannot read property 'ProtoBuf' of undefined at new ...

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

318. Laya.Browser获取宽高数值会变化,iphone6第一次加载正确,刷新几次就变大了。 [ 56%]

...值会变化,iphone6第一次加载正确,刷新几次就变大了。 class GameMain{     public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight;     constructor()     {         console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', p...

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

319. 自定义组件用的layaeditor.d.zip报错 [ 56%]

...,所以只好上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类lay...

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

320. sprite.loadImage加载图片怎么设置要显示的x,y坐标和宽高? [ 56%]

...显示的x,y坐标和宽高? 代码: import TiledMap = Laya.TiledMap; class GameMain{ private tMap:TiledMap; constructor() { Laya.init(935, 224, Laya.WebGL); this.tMap = new TiledMap(); var viewRect: Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); this.tMap.create...

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