Is there any way to get the latest debugged messaged?
For example using this:
Debug.LogWarning("Giant error in sector B");
How would I get it with into a variable like this:
function OnWarning(msg : String) {
LatestWarning = msg;
}
Is there any way to get the latest debugged messaged?
For example using this:
Debug.LogWarning("Giant error in sector B");
How would I get it with into a variable like this:
function OnWarning(msg : String) {
LatestWarning = msg;
}
So I got it working by using Application.RegisterLogCallback