diff --git a/cocos/ui/UIText.h b/cocos/ui/UIText.h index 53f66e9572..2121f28ae8 100644 --- a/cocos/ui/UIText.h +++ b/cocos/ui/UIText.h @@ -100,6 +100,8 @@ public: /** * Sets the font name of label. + * If you are trying to use a system font, you could just pass a font name, for example: Arial + * If you are trying to use a TTF, you should pass a file path to the TTF file, for example: resource/XXX.ttf * * @param font name. */