public StandardConsoleService() { #if UNITY_5 Application.logMessageReceived += UnityLogCallback; #else Application.RegisterLogCallback(UnityLogCallback); #endif SRServiceManager.RegisterService <IConsoleService>(this); _collapseEnabled = Settings.Instance.CollapseDuplicateLogEntries; _allConsoleEntriesReadOnly = _allConsoleEntries.AsReadOnly(); _consoleEntriesReadOnly = _consoleEntries.AsReadOnly(); }