大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...c var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.is...
来源: Laya_社区 发布时间: 20180525
...ublic get TouchCount(): number { if (Laya.TouchManager.I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get...
来源: Laya_社区 发布时间: 20170714
...e z: number = 0 Z轴坐标。 Default value nativeElements: Float32Array = null Returns ConchVector3 Properties elements elements: Float32Array Defined in laya/d3/math/Native/ConchVector3.ts:35 [只读]向量元素集合。 Static ForwardLH ForwardLH: ConchVector3 = new ConchVector3(0, 0, 1) Defined...
来源: Laya3.0_api 发布时间: 20231102
...W/VivoUnion.CommandClient: [SA]sendCommandToServer error, remoteService is null! command = ShowAssitViewCommand 10-13 17:31:16.011 6514-6514/com.vivo.vs I/VivoUnion.SdkToApkInvoker: [SA]reconnect remote server.. command = com.vivo.unionsdk.cmd.ShowAssitViewCommand@360e2552 10-13 17:31:16.021 6514-65...
来源: Laya_社区 发布时间: 20181013
... let self = this; Laya.timer.loop(300, null, function () { console.log('8: ' + self.particleSystem.aliveParticleCount); }); } } } } 执行结果一直...
来源: Laya_社区 发布时间: 20170605
...of Component) { let comp = sprite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和...
来源: Laya3.0_文档 发布时间: 20251010
...ublic get TouchCount(): number { if (Laya.TouchManager.I._event.touches == null) { return 0; } else { return this.myevent.touches.length; } } public get Touchs(): Array<any> { return this.myevent.touches } public get GetAxisX(): number { return Laya.stage.mouseX - this.lastMouseX; } public get...
来源: Laya_社区 发布时间: 20190224
...为: import { MyDialog } from "./MyDialog"; Editor.showDialog(MyDialog, null); 八、扩展内置菜单 支持对编辑器现有菜单的扩展。如以下代码,在应用程序菜单栏的工具菜单下,新增了一个test的菜单,并且点击菜单会调用test函数。 class AnyName { @...
来源: Laya3.0_文档 发布时间: 20251010
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231102
...r = 0 Default value m44: number = 1 Default value elements: Float32Array = null Returns Matrix4x4 Properties elements elements: Float32Array Defined in laya/maths/Matrix4x4.ts:402 矩阵元素数组 Static Readonly DEFAULT DEFAULT: Readonly<Matrix4x4> = new Matrix4x4() Defined in laya/maths/Ma...
来源: Laya3.0_api 发布时间: 20231115