Created
April 29, 2020 06:01
-
-
Save todorok1/04df4af7f9737796c86b4c0448bc5490 to your computer and use it in GitHub Desktop.
ドキュメントコメントの例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <Summary> | |
/// ドキュメントコメントについて解説するためのクラスです。 | |
/// </Summary> | |
public class DocCommentClass : MonoBehaviour | |
{ | |
/// <Summary> | |
/// フィールドの説明も書けます。 | |
/// </Summary> | |
public int docId; | |
/// <Summary> | |
/// summaryタグを使うとメソッドやクラスの説明を表示してくれます。 | |
/// </Summary> | |
void SummaryMethod() | |
{ | |
// 何らかの処理 | |
} | |
void CallSummaryMethod() | |
{ | |
// SummaryMethod()を呼びます。 | |
SummaryMethod(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment