• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 540 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)

371. 分享:关于自定义场景继承的实现 [ 44%]

...,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

372. SCALE_FIXED_WIDTH适配屏幕的问题 [ 44%]

...      Laya.stage.frameRate = Laya.Stage.FRAME_SLOW;             //注册自定义按钮控件             Laya.View.regComponent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }   ...

来源: Laya_社区 发布时间: 20181213

373. laya.display.Stage_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

来源: Laya3.0_api 发布时间: 20231115

374. laya.d3.core.material.PBRMaterial_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 isCreateFromURL isCreateFromURL(url: string): boolean ...

来源: Laya3.0_api 发布时间: 20231115

375. laya.ui.ScaleBox_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

来源: Laya3.0_api 发布时间: 20231115

376. laya.display.Scene_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

来源: Laya3.0_api 发布时间: 20231115

377. laya.ui.Box_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

来源: Laya3.0_api 发布时间: 20231115

378. laya.d3.core.BaseCamera [ 44%]

...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

379. laya.ui.AdvImage_API3.0 [ 44%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

来源: Laya3.0_api 发布时间: 20231102

380. 微信小游戏用loadImage加载网络上的图片,调试模式下能够正常显示,但关掉高度模式后无法显示,给这个图片设置了大小和监听,点击对应的位置时,又能接收到回调,就是图片显示不出来 [ 44%]

... 赞同来自: 这个是域名校验的问题,在你的公众号上面注册好后台域名网址就Ok了 2018-08-22 0 0 分享 微博 QZONE 微信 周志华 赞同来自: 遇到同样问题 2019-01-24 0 0 分享 微博 QZONE 微信 亮 赞同来自: 有解决办法吗       2019-01-25 0 2 ...

来源: Laya_社区 发布时间: 20180822