diff --git a/cocos/2d/CCNode.h b/cocos/2d/CCNode.h index 71fc761fd490..972a86dd8486 100644 --- a/cocos/2d/CCNode.h +++ b/cocos/2d/CCNode.h @@ -967,7 +967,7 @@ class CC_DLL Node : public Ref * * @return An integer that identifies the node. * - * Please use `getTag()` instead. + * Please use `getName()` instead. */ virtual int getTag() const; /**