Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created July 16, 2020 13:02
Embed
What would you like to do?
デバッグ文を出力するサンプル
int userNumber = 1234;
Debug.Log($"{userNumber}");
// これだと変数の中身だけ表示されて「わけがわからないよ」となる
// 1234
Debug.Log($"userNumber : {userNumber}");
// これなら変数名も出力される
// userNumber : 1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment