Open PPpro opened 1 year ago
class Node { /** * @editorOnly */ @serializable protected _prefab: PrefabInfo | null = null; }
we need to support an editorOnly tag, so that some properties should export to editor only, they are not public to game developers
related PR: https://github.com/cocos/cocos-engine/pull/14614
No response
none
The class also needs to support editorOnly
/** * @editorOnly */ @ccclass('cc.Light') export class Light extends Component { }
Use Case
Problem Description
we need to support an editorOnly tag, so that some properties should export to editor only, they are not public to game developers
related PR: https://github.com/cocos/cocos-engine/pull/14614
Proposed Solution
No response
How it works
No response
Alternatives Considered
none
Additional Information
No response