大约有 304 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0122 秒)
...rce.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用计数为0的时候立马删除他 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: strin...
来源: Laya3.0_api 发布时间: 20231102
...后,自动屏蔽了功能的勾选。 #### 2、是否只拷贝index.js里引用的类库 默认是勾选状态,勾选后只会拷贝index.js里引用的类库(通常我们都是在编辑模式下,用F9的类库配置来控制 类库的引用)。否则会将libs下用到的没用到的全...
来源: Laya2.0_文档 发布时间: 20210715
...(release)模式 发布模式下会对引擎库和项目里没有被引用的类、警告等备注信息进行剔除操作,减少发布后JS文件的体积,加快文件载入速度。 发布模式的宏编译标记为“/*[COMPILER OPTIONS:release]*/”。 开启和关闭此模式的...
来源: Laya_社区 发布时间: 20151218
.../ui/List.ts:297 获取对 List 组件所包含的内容容器 Box 组件的引用。 Returns Box customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,...
来源: Laya3.0_api 发布时间: 20231115
...a/ui/ComboBox.ts:609 获取对 ComboBox 组件所包含的 Button 组件的引用。 Returns Button cacheAs get cacheAs(): string set cacheAs(value: string): void Inherited from Text.cacheAs Defined in laya/display/Sprite.ts:343 指定显示对象是否缓存为静态图像,cacheAs时,子对象...
来源: Laya3.0_api 发布时间: 20231115
...擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就是页面上命名为“player”的标签 var video:any = Laya.Browser.document.querySelector('#player'); if(Hls.isSupported...
来源: Laya2.0_文档 发布时间: 20210715
... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
...rce.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在引用计数为0的时候立马删除他 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: stri...
来源: Laya3.0_api 发布时间: 20231115
...oller: CameraController; onStart() { // 初始化组件引用 this.playerScript = this.player.getComponent(Player); this.joystickScript = this.joystick.getComponent(Joystick); this.cameraController = this.camera.getComponent(CameraController);...
来源: Laya_社区 发布时间: 20251125