diff --git a/cocos/scene-graph/base-node.ts b/cocos/scene-graph/base-node.ts index fa0b414b86..29860595e4 100644 --- a/cocos/scene-graph/base-node.ts +++ b/cocos/scene-graph/base-node.ts @@ -210,6 +210,8 @@ export class BaseNode extends CCObject { get activeInHierarchy () { return this._activeInHierarchy; } + + @property get parent () { return this._parent; }