What is Debug.Log mainly used for?
Debug.Log("reached checkpoint");
- Printing messages to the console
- Saving the player progress
- Rendering text on the HUD
- Building the release package
It writes diagnostic text to the editor/player console.
Play Game Dev ▸