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

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

231. laya.media.SoundNode_API3.0 [ 68%]

...e SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable dest...

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

232. laya.map.GridSprite_API3.0 [ 68%]

... GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteArray autoSize drawImageNum hitTestPrior isAloneObject isHaveAnimation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha...

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

233. 用unity插件导出lh格式文件,再代码中加载使用的问题 [ 68%]

...laya的教程文档,安装unity插件,并打开相应面板后,选中scene类别导出ls格式的文件以后,在代码中载入这个文件,运行时报错 问题:为什么载入我自己导出的ls文件就会报错,载入别人提供的ls文件就正常?  这个是对应的代码...

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

234. 位图切片组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

...要通过代码设定Clip相关的属性,就需要用到脚本了。在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将Clip组件拖入到其暴露的属性入口中。下面给出一个示例代码,实现脚本控制Clip: const { regClass, property } = Laya; ...

来源: Laya3.0_文档 发布时间: 20251010

235. 动画实例在调用含有名字参数的时候获取不到边界 [ 68%]

...: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALIGN_CENTER; Lay...

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

236. laya.ui.DialogManager_API3.0 [ 68%]

...alogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY ble...

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

237. laya.map.MapLayer_API3.0 [ 68%]

...te MapLayer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderE...

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

238. [LayaAir3]LayaAir3.3.7 新 UI 系统的疑问 [ 68%]

[LayaAir3]LayaAir3.3.7 新 UI 系统的疑问 新 UI 系统有一个 Scene2D 节点。然后又有一个 GRoot 节点。而 GRoot 节点又没有在 Scene2D 下面,这就把我搞懵了。 你们的屏幕适配方案是怎样的? 我看了官方的文档,讲了一堆。真的,都没讲到...

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

239. 提示错误在laya.core.js里 [ 68%]

...问题了。是要把unity场景导入到laya2.6. export default class SceneLoad extends Laya.Script{     constructor(){         super();     }     onAwake(){         Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,function(scene){  ...

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

240. laya.ani.swf.MovieClip_API3.0 [ 68%]

...e MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count cus...

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