大约有 198 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDis...
来源: 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
...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 发布时间: 20170929
...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
...景,加了个text当标题,加了版权信息,并且为版权信息注册了个匿名函数,点击会跳转到我的个人网站。// 设定背景 var background = new Laya.Sprite(); background.loadImage("linkgame_back.jpg"); background.cacheAsBitmap = true; Laya.stage.addChild(background); ...
来源: Laya_社区 发布时间: 20160623
...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
...,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 isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDis...
来源: 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] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513