• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 179 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

111. laya.d3.core.scene.Scene3D [ 42%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: Laya2.0_api 发布时间: 20190513

112. 本地双击html如何打开laya项目? [ 42%]

...erver"; /** * 服务器端的socket */ ServerSocket server; /** * 服务器监听的端口号 */ public static final int PORT = 8080; // public static HttpServer getInstance(){ // if(httpServer == null){ // httpServer = new HttpServer(); // } // return httpServer; // } public HttpServer() { try { se...

来源: Laya_社区 发布时间: 20160104

113. laya.display.Sprite [ 37%]

...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...

来源: Laya2.0_api 发布时间: 20190513

114. laya.d3.webxr.core.WebXRInput_API3.0 [ 37%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher offAxisEvent offAxisEvent(index: number, type: string, caller: any, listener: Function): void Defined in laya/d3/WebXR/core/WebXRInput.ts:184 remove axis even...

来源: Laya3.0_api 发布时间: 20231115

115. 2.12.2beta1 诸多bug [ 36%]

...们考虑后,不建议您这样来操作对象,您可以在sp3上添加监听来进行销毁,而不是在sp1的逻辑内销毁sp3操作;如果确实有这方面的需求的话,建议您在遍历中进行容错处理来避免这个问题。 zyy • 2021-11-08 19:40 test对象被移除,testS...

来源: Laya_社区 发布时间: 20211105

116. laya.display.Sprite [ 36%]

...te 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...

来源: laya_api 发布时间: 20170929

117. laya.resource.VideoTexture_API3.0 [ 34%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

来源: Laya3.0_api 发布时间: 20231102

118. 微信小游戏分包实战(ActionScript-小游戏适配文档-微信小游戏) [ 30%]

...//把实例化的UI传给分包的类 b.newUI = newUI; //初始化分包,监听按钮事件 b.init(); }, fail: function(res) { // 分包加载失败通过 fail 回调 console.log("fail"); } }); } ``` 我们来看一下onLoaded这个方法,在调用showUI显示完UI后,直接使用了微信小...

来源: Laya2.0_文档 发布时间: 20210715

119. laya.ui.ColorPicker_API3.0 [ 28%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

来源: Laya3.0_api 发布时间: 20231115

120. laya.ui.TextInput_API3.0 [ 26%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

来源: Laya3.0_api 发布时间: 20231115