大约有 286 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(232) Laya2.0_文档(16) Laya3.0_api(15) Laya3.0_文档(14) Laya2.0_api(4) laya_api(4) Laya2.0_示例(1)
...代码define是不存在的,puremvc一直未被定义,需要把puremvc绑定到window上 if( typeof define === "function" ) { define( "puremvc", [], function() { var puremvc; (function (puremvc) { "use strict"; //... })(puremvc || (puremvc = {})); }) } //修改为: var puremvc=...
来源: Laya_社区 发布时间: 20190426
...享 微博 QZONE 微信 x8087ol 赞同来自: 用之前注册下,用类名绑定类Laya.ClassUtils.regClass('MainPage', MainPage); 2018-01-22 0 1 分享 微博 QZONE 微信 jy02728471 赞同来自: 没有AS3的getDefinitionByName这样的方法吗?不需要提前注册的 2018-03-19 0 0 分享 微...
来源: Laya_社区 发布时间: 20180122
...Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透...
来源: laya_api 发布时间: 20170929
...状态:动画开始退出"; } } ``` > 添加动画状态脚本,并且绑定 _text 文本 ```typescript //创建一个动画状态 var state2:AnimatorState = new AnimatorState(); state2.name = "ride"; state2.clipStart = 0 / 581; state2.clipEnd = 33 / 581; state2.clip = animator.getDefaultState()....
来源: Laya2.0_文档 发布时间: 20210714
...Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarch...
来源: Laya2.0_api 发布时间: 20190513
...的话就静音了??而不是报错完全不显示, 是否可以不绑定加载音频模块,? 2017-02-24 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你应该是每个iframe里都有声音在播放,声音全局就一个,这样使用应该就报错了!你为啥有这样的需...
来源: Laya_社区 发布时间: 20170224
...2-3) 3、UI组件基类属性 在 UI 组件中,相对布局、数据源绑定、灰化显示(变灰)以及禁用鼠标事件等,都是 UI 系统特有的功能属性。这些能力在 2D 基础对象(如 Sprite)中并不具备。 3.1 相对布局layout 如图 3-1 所示,每个 UI 组...
来源: Laya3.0_文档 发布时间: 20251010
...17-04-21 19:05 老师,为什么用这种方法创建的对象,没办法绑定事件监听? var bt = new Laya.Button("comp/btn_start.png","测试按钮"); bt.on(Laya.Event.CLICK, this, this.click); Laya.stage.addChild(bt); function click() { console.log("??????????"...
来源: Laya_社区 发布时间: 20170421
...alue: RenderTexture): void Defined in laya/d3/resource/RenderTexture.ts:83 绑定到主画布上的RenderTexture Returns RenderTexture Defined in laya/d3/resource/RenderTexture.ts:87 绑定到主画布上的RenderTexture Parameters value: RenderTexture Returns void Static cpuMemory get cpuMemory(): ...
来源: Laya3.0_api 发布时间: 20231102
...r(value: RenderTexture): void Defined in laya/resource/RenderTexture.ts:87 绑定到主画布上的RenderTexture Returns RenderTexture Defined in laya/resource/RenderTexture.ts:91 绑定到主画布上的RenderTexture Parameters value: RenderTexture Returns void Static cpuMemory get cpuMemory(): num...
来源: Laya3.0_api 发布时间: 20231115