
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
314 B
C#
14 lines
314 B
C#
using UnityEngine;
|
|
|
|
namespace Unity.PlasticSCM.Editor.UI
|
|
{
|
|
internal static class ScreenResolution
|
|
{
|
|
internal static string Get()
|
|
{
|
|
return string.Format("{0}x{1}",
|
|
Screen.currentResolution.width,
|
|
Screen.currentResolution.height);
|
|
}
|
|
}
|
|
} |