unity print error code example Example: how to send an error message unity Debug.LogError("Whatever you want it to say");