Quantcast
Channel: Questions in topic: "log"
Viewing all articles
Browse latest Browse all 235

Is there a logging method, similar to C#'s Console.WriteLine? (what I want is the {N})

$
0
0
Hello guys, I was just testing something when I accidentally wrote: Debug.Log("There are {0} elements in my list", list.Count); Then I remembered I can't do that in `Debug.Log` - And I can't use `Console.WriteLine` to output to Unity's console (can I?) Is there a way of doing this? Does Unity have a logging method, that supports this? or do I have to try to implement this thing myself? - Not that it's not doable, but won't be too easy. Thanks.

Viewing all articles
Browse latest Browse all 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>