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

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

11. 谷歌浏览器无法使用skeleton.load [ 65%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. iphone自带浏览器页面怎么锁...

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

12. List列表使用出现的问题 [ 65%]

...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使...

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

13. 视频节点 · LayaAir3.0文档 · LAYABOX [ 62%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....

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

14. 如何隐藏tiledMap中指定的GridSprite? [ 62%]

...图片溢出的部分隐藏掉;就是类似overFlow:hidden tiledmap Bug Sprite3d如何正确隐藏? list容器隐藏scrollBar的问题 请问 在LayaAir中怎么显示和隐藏文字? 问题状态 最新活动: 2016-12-28 20:45 浏览: 1552 关注: 2 人 xiaobear250 • 2016-12-29 11:38 谢谢...

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

15. 时间轴动画编辑详解 · LayaAir3.0文档 · LAYABOX [ 61%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图9-4) Co...

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

16. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 59%]

...性标识的类型支持引擎对象类型(例如:Laya.Vector3、Laya.Sprite3D、Laya.Camera等)、自定义的对象类型(需要标记@regClass())、以及TS语言的基本类型。 3.2.5.1 引擎对象类型 引擎对象类型的理解比较简单,暴露组件属性之后,直接...

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

17. 程序蓝图 · LayaAir3.0文档 · LAYABOX [ 58%]

...了。 (图1-3) 不同的蓝图文件有不同的使用方式: 继承Sprite3D的蓝图直接拖到3D场景中使用 (也可拖到3D场景的层级目录)。 (图1-4) 继承UI派生类的蓝图直接拖到2D场景中使用 (也可以拖到2D场景的层级目录)。 (图1-5) 继...

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

18. 基础文本 · LayaAir3.0文档 · LAYABOX [ 58%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameL...

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

19. 多行输入文本组件 · LayaAir3.0文档 · LAYABOX [ 56%]

... export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...

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

20. laya.components.Script_API3.0 [ 50%]

...同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中...

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