mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: GUIConsole now shows logs in editor too. instead of only showing the empty console.
This commit is contained in:
parent
2631982cb3
commit
3db423455b
@ -43,12 +43,10 @@ public class GUIConsole : MonoBehaviour
|
||||
bool visible;
|
||||
Vector2 scroll = Vector2.zero;
|
||||
|
||||
#if !UNITY_EDITOR
|
||||
void Awake()
|
||||
{
|
||||
Application.logMessageReceived += OnLog;
|
||||
}
|
||||
#endif
|
||||
|
||||
// OnLog logs everything, even Debug.Log messages in release builds
|
||||
// => this makes a lot of things easier. e.g. addon initialization logs.
|
||||
|
Loading…
Reference in New Issue
Block a user