diff --git a/GDataPlugin/Editor/GoogleMachineEditor.cs b/GDataPlugin/Editor/GoogleMachineEditor.cs index b840c99..260b828 100644 --- a/GDataPlugin/Editor/GoogleMachineEditor.cs +++ b/GDataPlugin/Editor/GoogleMachineEditor.cs @@ -137,8 +137,10 @@ public override void OnInspectorGUI() if (GUILayout.Button("Generate")) { - if (Generate(this.machine) == null) - Debug.LogError("Failed to create a script from Google."); + if (Generate(this.machine) != null) + Debug.Log("Successfully generated!"); + else + Debug.LogError("Failed to create a script from Google Spreadsheet."); } }