
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!
14 lines
292 B
C#
14 lines
292 B
C#
using System;
|
|
|
|
namespace UnityEditor.ShaderGraph
|
|
{
|
|
static class GuidEncoder
|
|
{
|
|
public static string Encode(Guid guid)
|
|
{
|
|
string enc = Convert.ToBase64String(guid.ToByteArray());
|
|
return String.Format("{0:X}", enc.GetHashCode());
|
|
}
|
|
}
|
|
}
|