大约有 116 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
... //激活资源版本控制,version.json由IDE发布功能自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { ...
来源: Laya_社区 发布时间: 20201110
...种皮肤不同的按钮制作一个预制体。编辑器也提供了快捷生成按钮预制体的功能,在工具->制作按钮菜单下。如下图1-3所示。 (图1-3) 想显示一段文字,拖入一个GLabel到舞台,为何显示不出文字? 显示文字应该使用GTextField,...
来源: Laya3.0_文档 发布时间: 20251010
...对了,查找很久才发现handler调用了recover,被对象池再次生成的对象引用覆盖了如: var a:Laya.Handler = Laya.Handler.create(null,testhandler,["a"]); console.log("a1:",a); a.recover(); console.log("a2:",a); var b:...
来源: Laya_社区 发布时间: 20161109
...als "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture errorTexture grayTexture normalTexture whiteTexture Accessor...
来源: Laya3.0_api 发布时间: 20231115
...a/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture ...
来源: Laya3.0_api 发布时间: 20231115
...map get mipmap(): boolean Defined in laya/resource/BaseTexture.ts:70 是否生成mipmap Returns boolean mipmapCount get mipmapCount(): number Defined in laya/resource/BaseTexture.ts:74 Returns number obsolute get obsolute(): boolean set obsolute(value: boolean): void Inherited from Resource.obsolute...
来源: Laya3.0_api 发布时间: 20231115
... } ] ... } ``` 这个manifest.json是可以通过IDE的发布功能自动生成的,打开发布(2.5.0beta以上版本)可以看到设置分包选项,如图:  subpackages里,可以有多个name与root,每一组代表一个分包,单个分包,不能超过4M,全部游...
来源: Laya2.0_文档 发布时间: 20210714
... } ] ... } ``` 这个manifest.json是可以通过IDE的发布功能自动生成的,打开发布(2.5.0beta以上版本)可以看到设置分包选项,如图:  subpackages里,可以有多个name与root,每一组代表一个分包,单个分包,不能超过5M,全部游...
来源: Laya2.0_文档 发布时间: 20210715
...d from BaseTexture.mipmap Defined in laya/resource/BaseTexture.ts:70 是否生成mipmap Returns boolean mipmapCount get mipmapCount(): number Inherited from BaseTexture.mipmapCount Defined in laya/resource/BaseTexture.ts:74 Returns number obsolute get obsolute(): boolean set obsolute(value: boolean)...
来源: Laya3.0_api 发布时间: 20231115
...alizedViewportPointToRay(point:Vector2, out:Ray):void 计算从裁切空间生成的射线。 Camera off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher ...
来源: laya_api 发布时间: 20170929