大约有 251 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(152) Laya2.0_文档(25) Laya3.0_文档(24) laya_api(14) Laya2.0_api(13) Laya3.0_api(11) Laya2.0_示例(8) Laya_示例(4)
...onMessageReceived(msg: any): void { console.log("接收到消息:"); if (typeof msg === "string") { console.log("文本数据:", msg); } else { console.log("接收到非字符串数据", msg); } // 清除输入缓存,避免残留数据 this.socket.input.clear(); } /** 连接关闭回调 */ pri...
来源: Laya3.0_文档 发布时间: 20251010
...nt8ArrayToArrayBuffer TEMPVector30 Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...T SLASH SPACE T TAB U UP V W X Y Z Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 求高人分享使用protobuff...
来源: Laya_社区 发布时间: 20180410
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Clip }) public clip: Laya.Clip; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height &...
来源: Laya3.0_文档 发布时间: 20251010
...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Property Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...= Stage.SCALE_FIXED_WIDTH; Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); console.log("myref-onloaded", testUI.myref.getBounds())...
来源: Laya_社区 发布时间: 20170720
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: Laya2.0_api 发布时间: 20190513
... class GameMain{ constructor() { Laya.init(1280,760); Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.beginLoad)); } private beginLoad(): void { console.debug("aaaaaaaaaaaaaaaaa"); var img = new Laya.Sprite...
来源: Laya_社区 发布时间: 20180416
...域的属性为: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