大约有 13 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0025 秒)
... (true) 还是非活动状态 (false)。 Event stageX : Number[read-only] 鼠标在 Stage 上的 X 轴坐标Event stageY : Number[read-only] 鼠标在 Stage 上的 Y 轴坐标Event target : Sprite 事件目标触发对象。Event touches : Array[read-only] 触摸点列表。 Event touchId : int...
来源: laya_api 发布时间: 20170929
...t Properties button button: number = 0 Defined in laya/events/Event.ts:187 鼠标按键, 0:主按键,通常指鼠标左键 1:辅助按键,通常指鼠标滚轮中键 2:次按键,通常指鼠标右键 3:第四个按钮,通常指浏览器后退按钮 4:第五个按钮,通常指...
来源: Laya3.0_api 发布时间: 20231115
...50,30,'#FF0000'); btn.pos(10,430); btn.size(150,30);//sprite如果要触发鼠标事件,务必设置好size,也就是鼠标的相应区域 btn.on(Event.CLICK,this,onChangeSkin); Laya.stage.addChild(btn); var text:Text=new Text(); text.text='切换皮肤'; text.fontSize=20; btn.addChild(text); te...
来源: Laya_社区 发布时间: 20170324