大约有 200 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)
...,CustomScene只会作为BaseScene被创建出来,且此时需要提前注册BaseScene类:Laya.ClassUtils.regClass("BaseScene",base.BaseScene);VSCode右键script文件夹创建MyScene.ts文件并创建类继承自CustomScene。 MyScene.tsimport { ui } from "../ui/layaMaxUI"; export default clas...
来源: Laya_社区 发布时间: 20200827
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231102
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: laya_api 发布时间: 20170929
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
...2018年至今从事小游戏开发(LAYA引擎) 在小游戏领域单品注册用户超过600万的有4款 参与过的作品: 《怪物逃X》《空中飞X》《水枪奇X》 《滑板冲冲X》《蛋糕飞X》《纠结大X》等 我从0开始接触LAYA到游戏上线 亲身爬过了很多坑也...
来源: Laya_社区 发布时间: 20190227
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆...
来源: laya_api 发布时间: 20170929
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDis...
来源: laya_api 发布时间: 20170422
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513