大约有 2,906 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1716) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...xtAncient extends Laya.Script { /** @prop {name:text, tips:"显示文本", type:String, default:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, default:"#0000ff"}*/ public color: string = "#0000ff"; /** @prop {name:layoutType, t...
来源: Laya_社区 发布时间: 20191103
...) 创建一个新的 KeyframeAnimation 实例。 KeyframeAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...
来源: laya_api 发布时间: 20170929
... Properties ext loader obsoluteInst onComplete onProgress options progress type url uuid Methods reset Constructors constructor new LoadTask(): LoadTask Defined in laya/net/Loader.ts:1068 Returns LoadTask Properties ext ext: string Implementation of ILoadTask.ext Defined in laya/net/Loader.ts:1061 l...
来源: Laya3.0_api 发布时间: 20231115
关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 我目前是都是以节点拖进去后 as转换 才可以用的 有正常一点的方法吗 就想cocos 直接改对应的 比如 Laya.Button 这种 或者U3D public 直接拉进去 2018-12-10 添加评论 免...
来源: Laya_社区 发布时间: 20181210
...一个Hp.js 代码如下 (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = null; //最小值 this.MIN_VALUE = 0; //最大值 this.MAX_VALUE = 100; //值 this.value = 100; Hp.__super.call(this); this.init(type); } //能量类型 Hp.HP_TYPE_ENERGY ...
来源: Laya_社区 发布时间: 20160803
Property 'BoxMesh' does not exist on type 'typeof Laya' 官方文档:https://ldc2.layabox.com/doc/?nav=zh-ts-4-0-0 // 添加自定义模型 var box:Laya.MeshSprite3D = new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1));运行报错Property 'BoxMesh' does not exist on type 'typeof Lay...
来源: Laya_社区 发布时间: 20190301
...数对应表,用来扩展更多类型的资源加载解析。Loader type : String[read-only] 加载类型。Loader typeMap : Object[static] 文件后缀和类型对应表。Loader url : String[read-only] 加载地址。LoaderPublic Methods Hide Inherited Public Methods Show Inherited Publ...
来源: Laya2.0_api 发布时间: 20190513
...odDefined By Script() 创建一个新的 Script 实例。 Script event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...
来源: laya_api 发布时间: 20170929
...atorStateTriggerCondition Index Constructors constructor Accessors id name type Methods checkState conditionIDToName conditionNameToID Constructors constructor new AnimatorStateTriggerCondition(name: string): AnimatorStateTriggerCondition Overrides AnimatorStateCondition.constructor Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...tructor Properties cycles enable enableUVChannels randomRow rowIndex tiles type Accessors frame startFrame Methods clone cloneTo Constructors constructor new TextureSheetAnimation(frame: FrameOverTime, startFrame: StartFrame): TextureSheetAnimation Defined in laya/d3/core/particleShuriKen/module/Tex...
来源: Laya3.0_api 发布时间: 20231115