facebook twitter hatena line email

「Unity/Csharp/コーディング規約」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(参考リンク)
 
行8: 行8:
 
C# at Google Style Guide
 
C# at Google Style Guide
 
https://google.github.io/styleguide/csharp-style.html
 
https://google.github.io/styleguide/csharp-style.html
 +
 +
Unityと.netの違い
 +
https://takap-tech.com/entry/2020/03/08/015721
 +
 
==functionを1行で==
 
==functionを1行で==
 
 

2023年11月30日 (木) 07:20時点における最新版

参考リンク

Csharp Coding Guidlines Unity Community 和訳 https://qiita.com/shun-shun123/items/212893b60b7f14c69351

microsoft公式 c# dotnet https://learn.microsoft.com/ja-jp/dotnet/csharp/fundamentals/coding-style/coding-conventions

C# at Google Style Guide https://google.github.io/styleguide/csharp-style.html

Unityと.netの違い https://takap-tech.com/entry/2020/03/08/015721

functionを1行で

void Awake() {
   Debug.Log("test");
}

void Awake() => Debug.Log("test");

変数やメンバー変数やメソッド名について

Puscalやcamelやsnakeなど

https://takap-tech.com/entry/2020/03/08/015721

コードフォーマット整形

VisualStudioメインメニュー/編集/フォーマット/ドキュメントをフォーマット

参考:https://icoc-dev.hatenablog.com/entry/2014/05/12/162013