void Awake()
 {
     /// If you would like to get warnings from the various compression DLLs we need to send Assert fails to the Debug.Log -
     /// This does that.
     XDebug.ForwardTraceListener(true);
     XDebug.RedirectConsoleErrorToDebug(true);
 }
示例#2
0
        public override void Initialize()
        {
            single = this;
            // Let the conditional debug know what to show
            XDebug.logInfo     = Single.logTestingInfo;
            XDebug.logWarnings = Single.logWarnings;
            XDebug.logErrors   = Single.logConsoleErrors;

            XDebug.ForwardTraceListener(logAssertFails);
            XDebug.RedirectConsoleErrorToDebug(logConsoleErrors);
        }