//********************************************************************************
        // Private Methods
        //********************************************************************************

        private static bool CheckCurrentAssembly()
        {
            string applicationAssemblyName = VersionCompatibilityUtility.GetCurrentAssemblyName();
            string editorAssemblyName      = Assembly.GetExecutingAssembly().GetName().Name;

            bool assemblyOk = (applicationAssemblyName == "Assembly-CSharp") && (editorAssemblyName == "Assembly-CSharp-Editor");

            if (!assemblyOk)
            {
                string message = string.Format("The UMotion script files are not compiled to the correct assembly:\r\n\r\n\"{0}\"\r\n(should be \"Assembly-CSharp\")\r\n\r\n\"{1}\"\r\n(should be \"Assembly-CSharp-Editor\")\r\n\r\nMake sure that UMotion isn't installed as a sub-folder of a folder named \"Plugins\". Also make sure not to use assembly definition files for UMotion script files.", applicationAssemblyName, editorAssemblyName);
                EditorUtility.DisplayDialog("UMotion - Invalid Assembly", message, "OK");
            }

            return(assemblyOk);
        }
        //********************************************************************************
        // Private Methods
        //********************************************************************************

        private static bool CheckCurrentAssembly()
        {
            string applicationAssemblyName = VersionCompatibilityUtility.GetCurrentAssemblyName();
            string editorAssemblyName      = Assembly.GetExecutingAssembly().GetName().Name;

            bool assemblyOk = (applicationAssemblyName == "UMotionSourceApplication") && (editorAssemblyName == "UMotionSourceEditor");

            if (!assemblyOk)
            {
                string message = string.Format("The UMotion script files are not compiled to the correct assembly:\r\n\r\n\"{0}\"\r\n(should be \"UMotionSourceApplication\")\r\n\r\n\"{1}\"\r\n(should be \"UMotionSourceEditor\")\r\n\r\nMake sure that you haven't deleted or re-named the assembly definition files inside the UMotion folder.", applicationAssemblyName, editorAssemblyName);
                EditorUtility.DisplayDialog("UMotion - Invalid Assembly", message, "OK");
            }

            return(assemblyOk);
        }