大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget...
来源: Laya3.0_api 发布时间: 20231115
...一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef"...
来源: Laya3.0_api 发布时间: 20231115
...象的属性 y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数...
来源: Laya3.0_api 发布时间: 20231115