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!
23 lines
549 B
C#
23 lines
549 B
C#
using UnityEditor;
|
|
using Unity.PlasticSCM.Editor.UI;
|
|
|
|
namespace Unity.PlasticSCM.Editor
|
|
{
|
|
internal static class PlasticMenuItem
|
|
{
|
|
[MenuItem(MENU_ITEM_NAME, false)]
|
|
static void ShowPanel()
|
|
{
|
|
PlasticPlugin.OpenPlasticWindowDisablingOfflineModeIfNeeded();
|
|
}
|
|
|
|
[MenuItem(MENU_ITEM_NAME, true)]
|
|
static bool ValidateMenu()
|
|
{
|
|
return !CollabPlugin.IsEnabled();
|
|
}
|
|
|
|
const string MENU_ITEM_NAME = "Window/" + UnityConstants.PLASTIC_WINDOW_TITLE;
|
|
}
|
|
}
|