「Unity/Csharp/コーディング規約」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==参考リンク== Csharp Coding Guidlines Unity Community 和訳 https://qiita.com/shun-shun123/items/212893b60b7f14c69351 ==functionを1行で== 前 void Awake() {...」) |
|||
(同じ利用者による、間の2版が非表示) | |||
行2: | 行2: | ||
Csharp Coding Guidlines Unity Community 和訳 | Csharp Coding Guidlines Unity Community 和訳 | ||
https://qiita.com/shun-shun123/items/212893b60b7f14c69351 | https://qiita.com/shun-shun123/items/212893b60b7f14c69351 | ||
+ | |||
+ | microsoft公式 c# dotnet | ||
+ | https://docs.microsoft.com/ja-jp/dotnet/csharp/fundamentals/coding-style/coding-conventions | ||
==functionを1行で== | ==functionを1行で== | ||
行10: | 行13: | ||
後 | 後 | ||
void Awake() => Debug.Log("test"); | void Awake() => Debug.Log("test"); | ||
+ | |||
+ | ==変数やメンバー変数やメソッド名について== | ||
+ | Puscalやcamelやsnakeなど | ||
+ | |||
+ | https://takap-tech.com/entry/2020/03/08/015721 |
2021年11月12日 (金) 18:37時点における版
参考リンク
Csharp Coding Guidlines Unity Community 和訳 https://qiita.com/shun-shun123/items/212893b60b7f14c69351
microsoft公式 c# dotnet https://docs.microsoft.com/ja-jp/dotnet/csharp/fundamentals/coding-style/coding-conventions
functionを1行で
前
void Awake() { Debug.Log("test"); }
後
void Awake() => Debug.Log("test");
変数やメンバー変数やメソッド名について
Puscalやcamelやsnakeなど