Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created October 26, 2020 05:57
Embed
What would you like to do?
if文の分岐ごとにログを出力する
void Start()
{
int money = 100;
if (money >= 100)
{
Debug.Log("ジュースを買うよ");
}
else
{
Debug.Log("ジュースを買えない……。");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment