大约有 426 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock na...
来源: Laya3.0_api 发布时间: 20231115
...人封装了pomloClient如: /** 基于pomelo网络握手通讯*/ export class Socket extends Laya.EventDispatcher { private pomelo: Pomelo; private mDecorate:Decorate;//装饰器 private mHost: string; private mPort: number; priva...
来源: Laya_社区 发布时间: 20161109
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately...
来源: Laya3.0_api 发布时间: 20231102
...import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用代码将Dialog与所需...
来源: Laya3.0_文档 发布时间: 20251024
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 循环依赖不能运行 Circular dependency: 问题状态 最新活动: 2019-11-08 16:5...
来源: Laya_社区 发布时间: 20181203
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties _id destroyedImmediatel...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name...
来源: Laya3.0_api 发布时间: 20231115
...添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine3D: Laya.Spine3DRenderer; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 加载Spine动画数据资源(...
来源: Laya3.0_文档 发布时间: 20260203
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于apk打包动画卡的问题 event自定义事件的问题 问题状态 最新活动: 2018-05-24 11:33 浏览: 946 关注: 2 人
来源: Laya_社区 发布时间: 20180507
... Stage = Laya.Stage; import WebGL = Laya.WebGL; import Event = Laya.Event; export class Sprite_DrawShapes { private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(740, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.s...
来源: Laya_社区 发布时间: 20170425