/// <summary>
        /// Draws the ComboBox for choosing the Step Method.
        /// </summary>
        /// <param name="unityInterface">The unity interface.</param>
        /// <param name="selectedMethod">The selected method.</param>
        /// <param name="methodsArray">The methods array.</param>
        /// <returns>The chosen Step Method.</returns>
        public string DrawComboBox(IUnityInterfaceWrapper unityInterface, string selectedMethod, string[] methodsArray)
        {
            string[] methods = null;
            if (methodsArray.Length == 0)
            {
                methods = new string[1] {
                    string.Empty
                };
            }
            else if (!methodsArray[0].Equals(string.Empty))
            {
                methods    = new string[methodsArray.Length + 1];
                methods[0] = string.Empty;
                Array.Copy(methodsArray, 0, methods, 1, methodsArray.Length);
            }
            else
            {
                methods = new string[methodsArray.Length];
                Array.Copy(methodsArray, methods, methodsArray.Length);
            }

            string result = string.Empty;

            int index = this.GetIndexByValue(selectedMethod, methods);

            index  = unityInterface.EditorGUILayoutPopup(index, methods);
            result = methods[index];
            return(result);
        }