Doxygen没有收到评论
问题描述:
我一直在试图把评论放到我的文件中,所以提供更多的功能和详细信息,但doxygen并没有注册我的任何评论。我就是这个原因。以下是我在代码中把Doxygen没有收到评论
/*!* comment1 */
\t public Texture whiteAsteroid;
\t public Texture redAsteroid;
\t public Texture yellowAsteroid;
\t public Texture blueAsteroid;
\t public GameObject particleDeathEffect;
\t private bool whiteCollison;
\t private bool redCollison;
\t /*!* comment2 */
\t private bool yellowCollison;
\t private bool blueCollison;
\t /*!* comment3 */
\t void Start()
\t {
\t \t // sets the rotate speed to random value
\t \t rotateSpeed = Random.Range (2f, 5f);
\t \t /*!* comment4 */
\t \t size = Random.Range (3f, 10f);
\t \t transform.localScale = new Vector3 (size, 1, size);
注释1显示得很好,但没有其他人做。难道我做错了什么?任何帮助表示赞赏:)
答
默认情况下,私有元素注释不会出现在doxygen中。
Set EXTRACT_PRIVATE
。 http://www.doxygen.nl/manual/config.html#cfg_extract_private
+0
好的,谢谢,现在很好 – Glarmo 2015-04-01 17:36:44
请添加语言标签。 – 2015-03-30 21:24:26
@mjuarez:doxygen是一个更好的'javadoc'。 – 2015-03-30 23:25:58