Hello,
I was wondering, wouldn’t it be great if there was a way to find out what function called what in a debug screen? Lets say somebody spent weeks writing code, and later wanted to find out what called a certain function from what line. Errors get logged into the console that way. What if there was a way to have a print method do the same?
Never mind. I see it is logged.
2 Likes
There’s less information in a release build. I’ve just gotten into the habit of writing Debug.Log like this.
Debug.Log("playerObject is null in updatePlayerHealth() playerStats.cs");
This will also be useful in the future:
2 Likes