Ejemplo n.º 1
0
        internal static void SetupContextType(ContextMenusClient client)
        {
            string errorMsg;

            m_Integration = TryCreateContextMenusIntegration(client, out errorMsg);

            if (!string.IsNullOrEmpty(errorMsg))
            {
                UnityEngine.Debug.LogError($"WiseSVN: Unsupported context menus client: {client}. Reason: {errorMsg}");
            }

            WiseSVNIntegration.ShowChangesUI -= CheckChangesAll;
            WiseSVNIntegration.ShowChangesUI += CheckChangesAll;
        }