Closed xrix4096 closed 7 years ago
Unity 5 uses an event instead so in OnEnable() in Server.cs
Application.RegisterLogCallback(Console.LogCallback);
should become
Application.logMessageReceived += Console.LogCallback;
and OnDisable() replace
Application.RegisterLogCallback(null);
with
Application.logMessageReceived -= Console.LogCallback;
Can fork and do a PR if that helps
Just noticed @AustinSpafford already submitted a PR for this
Thanks for reaching out! I merged #24
Unity 5 uses an event instead so in OnEnable() in Server.cs
Application.RegisterLogCallback(Console.LogCallback);
should become
Application.logMessageReceived += Console.LogCallback;
and OnDisable() replace
Application.RegisterLogCallback(null);
with
Application.logMessageReceived -= Console.LogCallback;
Can fork and do a PR if that helps