hidden probes on the inspector (#13325)

Co-authored-by: BppleMan <bppleman@gmail.com>
This commit is contained in:
BppleMan
2022-11-10 18:09:55 +08:00
committed by GitHub
parent 3d7beff293
commit abea35ddec
+14 -1
View File
@@ -23,7 +23,19 @@
THE SOFTWARE.
*/
import { ccclass, disallowMultiple, displayName, editable, executeInEditMode, menu, range, serializable, tooltip, type } from 'cc.decorator';
import {
ccclass,
disallowMultiple,
displayName,
editable,
executeInEditMode,
menu,
range,
serializable,
tooltip,
type,
visible,
} from 'cc.decorator';
import { EDITOR } from 'internal:constants';
import { NodeEventType } from '../../scene-graph/node-event';
import { Component } from '../../scene-graph/component';
@@ -62,6 +74,7 @@ export class LightProbeGroup extends Component {
@editable
@type([Vec3])
@visible(false)
get probes (): Vec3[] {
return this._probes;
}