Files
fc/dev/project/library/imports/24/24e60f3a-70f7-49e9-938a-c1436e475009.js
T

35 lines
1.0 KiB
JavaScript
Raw Normal View History

2026-05-24 10:21:26 +08:00
"use strict";
cc._RF.push(module, '24e6086cPdJ6ZOKwUNuR1AJ', 'nx.fx.batchRender');
// Scripts/nx/cmp/flex/nx.fx.batchRender.js
"use strict";
/******************************************************************
* Copyright(C) 2019 - 2020 Nx Studio
*
* NX UI插件 -- 分层渲染
*
* 2018.05.18
******************************************************************/
cc.Class({
"extends": cc.Component,
properties: {},
// 编辑器特性
editor: {
// 允许当前组件在编辑器模式下运行
executeInEditMode: false,
// requireComponent 参数用来指定当前组件的依赖组件
requireComponent: null,
// 当本组件添加到节点上后,禁止同类型(含子类)的组件再添加到同一个节点,防止逻辑发生冲突
disallowMultiple: true,
// menu 用来将当前组件添加到组件菜单中,方便用户查找
menu: "Nx/组件|分层渲染"
},
// 载入
onLoad: function onLoad() {
this.node["__enableLevelRender"] = true;
}
});
cc._RF.pop();