Writing logs
You can use Unity's Debug.Log() that will output to Player.log.
There's also a Logger
class provided by Voxel Tycoon API to get nicer output:
Output:
Player.log¶
Player.log
is where the game writes all its logs. You can write there too using Unity's Debug.Log() in your script mods.
This file can be found in the next locations:
Platform | |
---|---|
Windows | %appdata%/../LocalLow/VoxelTycoon/VoxelTycoon/Player.log |
macOS | ~/Library/Logs/VoxelTycoon/VoxelTycoon/Player.log |
Linux | ~/.config/unity3d/VoxelTycoon/VoxelTycoon/Player.log |