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

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

1. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 100%]

2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 SNumber,Res,Runtime,Vec,Vector,ActionButton 这几个类型做测试都失败了,想问一下这几个类型改怎么使用,有没有范例 我这里提供一下其他的类型的范例供大家参考   export default c...

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

2. layaUI.max.all.js 这个文件怎么生成的? [ 98%]

...     ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","va...

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

3. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 98%]

...     ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","va...

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

4. 脚本组件的使用(JavaScript-2D进阶篇(JS)-扩展模块) [ 97%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name: resType, tips:"abc",type:string,accept:res} */ /** @prop {name:int1,tips:"11",type:Int} */ /** @prop {name:String,tips:"abc",type:String} */ /** @prop {name:bool,tips:"1,0",type:Bool}*/ /** @prop {name:Option,tips...

来源: Laya2.0_文档 发布时间: 20210715

5. 脚本化(JavaScript-IDE篇(JS)-脚本使用) [ 97%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name: resType, tips:"abc",type:string,accept:res} */ /** @prop {name:int1,tips:"11",type:Int} */ /** @prop {name:String,tips:"abc",type:String} */ /** @prop {name:bool,tips:"1,0",type:Bool}*/ /** @prop {name:Option,tips...

来源: Laya2.0_文档 发布时间: 20200603

6. 脚本组件的使用(ActionScript-2D进阶篇(AS3)-扩展模块) [ 96%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name:resType,tips:"abc",type:string,accept:res}*/ public var resType:String = ""; /** @prop {name:int1,tips:"11",type:Int}*/ public var int1:int; /** @prop {name:number1,tips:"11.11",type:Number}*/ public var number1:Nu...

来源: Laya2.0_文档 发布时间: 20210715

7. 脚本化(TypeScript-IDE篇(TS)-脚本使用) [ 96%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name: resType, tips:"abc",type:string,accept:res} */ resType:String =""; /** @prop {name:int1,tips:"11",type:Int} */ number1:Number; /** @prop {name:String,tips:"abc",type:String} */ string1:String; /** @prop {name:bool...

来源: Laya2.0_文档 发布时间: 20200603

8. 脚本组件的使用(TypeScript-2D进阶篇(TS)-扩展模块) [ 96%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name: resType, tips:"abc",type:string,accept:res} */ resType:String =""; /** @prop {name:int1,tips:"11",type:Int} */ number1:Number; /** @prop {name:String,tips:"abc",type:String} */ string1:String; /** @prop {name:bool...

来源: Laya2.0_文档 发布时间: 20210714

9. 脚本化(ActionScript-IDE篇(AS3)-组件化开发相关) [ 96%]

...es的关联属性,单个元素的类型 | | default | 默认值 | ``` /** @prop {name:resType,tips:"abc",type:string,accept:res}*/ public var resType:String = ""; /** @prop {name:int1,tips:"11",type:Int}*/ public var int1:int; /** @prop {name:number1,tips:"11.11",type:Number}*/ public var number1:Nu...

来源: Laya2.0_文档 发布时间: 20201213

10. laya.utils.Tween [ 96%]

...umentationAll Packages | All Classes | Index | Frames No Frames TweenProperties | Methods Packagelaya.utilsClasspublic class TweenInheritanceTween Object Tween 是一个缓动类。使用此类能够实现对目标对象属性的渐变。 Public Properties PropertyDefined By  progress : N...

来源: laya_api 发布时间: 20170929