大约有 23 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0028 秒)
...测完毕。 1. Mouse Enabled: 默认为false,如果在脚本代码中监听鼠标事件,则会自动设置本对象及父节点的MouseEnabled属性值都为 true。但若将父节点的MouseEnabled的值手动设置为false,即使进行了鼠标事件监听,父节点的MouseEnabled值也...
来源: Laya3.0_文档 发布时间: 20251010
...); } }开发数据域接收主域透传消息处理类:/** * 事件派发监听管理类 * author xiaosong * @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { su...
来源: Laya_社区 发布时间: 20180525
...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是...
来源: Laya_社区 发布时间: 20160801