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

大约有 1,129 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)

161. 飞机大作战demo中,想给主角飞机(hero)添加事件,怎么做 [ 68%]

... 个回复 Laya_Aaron 赞同来自: 如果这些类是继承自sprite或者node 的 可以直接加on 来添加事件。 2018-06-13 0 2 分享 微博 QZONE 微信 四十四只石狮子 赞同来自: 如上图 2018-06-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

162. laya.resource.Prefab_API3.0 [ 68%]

...te create(options?: Record<string, any>, errors?: Array<any>): Node Defined in laya/resource/HierarchyResource.ts:24 创建实例 Parameters Optional options: Record<string, any> Optional errors: Array<any> Returns Node destroy destroy(): void Inherited from Resource.destroy ...

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

163. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 68%]

...huriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHi...

来源: Laya2.0_api 发布时间: 20190513

164. laya.map.TileAniSprite [ 68%]

...kagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Public Properties Hide Inherited Public Properties Show Inherited Public Pro...

来源: Laya2.0_api 发布时间: 20190513

165. 如何使用graphics.loadImage加载图片资源的时候,如何判断加载失败? [ 67%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 加载到舞台的3D模型不显示贴图 关于使用matterjs物理引擎鼠标问题 【带附件】 使用Laya2.0.0beta5.1 发布官方示...

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

166. laya.display.Sprite [ 67%]

...ds | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基...

来源: laya_api 发布时间: 20170929

167. 请问2.0射线到底如何使用呢? [ 67%]

...ale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 请问在layaIDE里,怎么调用微信小程序API 请问2.0的版本开始,我用ts编写的相关...

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

168. 安装layaair2-cmd一直失败 [ 67%]

...Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_modules\layaair2-cmd\layaair2-cmd.js > core-js@2.6.11 postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank...

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

169. laya.map.TileAniSprite [ 67%]

...kagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Public Properties Hide Inherited Public Properties Show Inherited Public Pro...

来源: laya_api 发布时间: 20170929

170. laya.ui里的tag不能赋值使用? [ 67%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于使用matterjs物理引擎鼠标问...

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