大约有 503 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0315 秒)
Laya_社区(426) Laya2.0_文档(30) Laya3.0_文档(15) Laya2.0_示例(8) Laya_示例(7) laya_api(7) Laya3.0_api(6) Laya2.0_api(4)
...xternals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中...
来源: Laya3.0_api 发布时间: 20231102
...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
...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
...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
...不多说直接看例子 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
...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
...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
...值会变化,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
...,所以只好上论坛求助了。 比如这么一个报错的地方: 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
...显示的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