33
34

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Unity] デバッグログを出す方法

Posted at

Debug.Log(honyarara) で変数の中身表示したりできます.

var num = 128;
Debug.Log(num);
Debug.Log("Hello, world!");

Console ウィンドウに出力結果が表示されます.

ss.png

最後の出力結果は左下に出てたりもします.

ss2.png

ちなみに Deubg.Break() で一時停止できます.

33
34
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
33
34

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?