
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
20 lines
556 B
C#
20 lines
556 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Graphing
|
|
{
|
|
class ConsoleLogHandler : ILogHandler
|
|
{
|
|
public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
|
|
{
|
|
var formatted = string.Format(format, args);
|
|
Console.WriteLine("{0}:{1} - {2}", logType, context, formatted);
|
|
}
|
|
|
|
public void LogException(Exception exception, UnityEngine.Object context)
|
|
{
|
|
Console.WriteLine("{0} - {1}", context, exception);
|
|
}
|
|
}
|
|
}
|