大约有 2,831 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1671) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...e uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Even...
来源: Laya3.0_文档 发布时间: 20251010
...包括JS 如: var atlas:Object[] = [{ url: "res/atlas/choujiang.js", type: Loader.TEXT }, { url: "res/atlas/choujiang.json", type: Loader.ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this...
来源: Laya_社区 发布时间: 20180511
...lue changeScissor changeViewport drawRenderElement Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...agName lowerCaseName parsePos source sourceLen tagLength tagName tagPos tagType Accessors attributes Methods begin getAttribute getRawText getTagSource getText nextTag parseAttributes Properties Static attrParsed attrParsed: boolean Defined in laya/html/XMLIterator.ts:28 Static lastTagEnd lastTagEnd...
来源: Laya3.0_api 发布时间: 20231115
...: /** @prop {name:dropBox,tips:"掉落容器预制体对象",type:Prefab}*/ dropBox: Laya.Prefab; 其他还有哪做了加载? 一位不愿意透露姓名的无头像者 • 2018-10-25 15:13 @Laya_Aaron:我要使用脚本赋值的话 除了写一个ts文件 ,prop暴露属性,设计...
来源: Laya_社区 发布时间: 20181024
...r[index];//在IDE里面这句报错 [ts] Operator '+' cannot be applied to types 'String' and 'String'. } return str; } 2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_XS 赞同来自: string类...
来源: Laya_社区 发布时间: 20171118
...,资源商店也一般不允许这类插件上架。 在项目的engine/types目录,有三个与编辑器插件开发相关的声明文件,editor.d.ts, editor-ui.d.ts, editor-env.d.ts,他们包含了大量编辑器的扩展API。 editor.d.ts 是编辑器UI进程的API。常用的是全局对...
来源: Laya3.0_文档 发布时间: 20251010
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: laya_api 发布时间: 20170929
...ent.MOUSE_OUT, Event.MOUSE_WHEEL ]); static isMouseEvent(type) { return MOUSE_EVENTS.has(type); }脚本周期函数onMouseDrag, onMouseDragEnd在不注册鼠标事件的情况下无法触发。 创建一个2d空场景只放一个图片图片mouseEnable...
来源: Laya_社区 发布时间: 20231106