9092858a58
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!
16 lines
359 B
C#
16 lines
359 B
C#
using UnityEditor;
|
|
|
|
namespace Unity.PlasticSCM.Editor
|
|
{
|
|
internal class ParentWindow
|
|
{
|
|
internal static EditorWindow Get()
|
|
{
|
|
if (EditorWindow.HasOpenInstances<PlasticWindow>())
|
|
return EditorWindow.GetWindow<PlasticWindow>(false, null, false);
|
|
|
|
return EditorWindow.focusedWindow;
|
|
}
|
|
}
|
|
}
|