大约有 7 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
as语言,2.0升到2.9后编译出来的js关于接口也就是interface消失的问题 写下面这行代码编译成js之后就是Laya.__typeof(trick,'engine.pui.scroll.IScrollTrickCell'),2.9运行之后就会提示__typeof为undefined,因为已经没有__typeof这个方法了,同时在js...
来源: Laya_社区 发布时间: 20201231
... 能否与标准的lib.d.ts中保持一致,比如对于Date声明为: interface Date { } interface DateConstructor { } const Date: DateConstructor; 这样应用可以针对引擎层的一些类通过修改prototype打一些便利性的补丁,同时扩展interface的定义,保证应用层type...
来源: Laya_社区 发布时间: 20170705
...具没有查看具体报错的功能。 ERROR:invalid property id interface:function(name,_super){ Laya.__package(name,{}); var ins=Laya.__internals; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=...
来源: Laya_社区 发布时间: 20180806
...5489/? E/SMD: smd_init start 03-19 15:01:05.871 15489-15489/? E/SMD: smd Interface open failed errno is 2 -1 03-19 15:01:05.881 3970-3970/? E/SimeSkbManager: config keyboard type error... 03-19 15:01:05.926 15556-15556/? E/LayaBox: >>>>>>>>>>>>>>>>&g...
来源: Laya_社区 发布时间: 20180319
...本里调用重绘API。 示例代码如下:const { regClass } = Laya; interface AnimatorPlayScriptInfo { animator: Laya.Animator2D; layerindex: number; playState: Laya.AnimatorState2D; } /** * 继承自AnimatorStateScript(动画状态脚本) */ @regClass() export class AnimationScript2D extends L...
来源: Laya_社区 发布时间: 20251010
... @Time: 下午3:07 * @Desc: 这家伙很懒,什么都没留下…… **/ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * ...
来源: Laya_社区 发布时间: 20171226
...: c1.添加接口IMapUnit /** 地图独立单元接口*/ export interface IMapUnit { /**相对于地图X轴的坐标*/ relativeX: number; /**相对于地图Y轴的坐标*/ relativeY: number; /** 单元唯一id*/ id: an...
来源: Laya_社区 发布时间: 20161109