Skip to content

Commit

Permalink
Merge pull request kimsama#49 from kanonji/patch-2
Browse files Browse the repository at this point in the history
Accept copy and paste in some fields of GoogleDataSettings
  • Loading branch information
kimsama authored Dec 9, 2017
2 parents 13d88b8 + 219e32e commit d5d5afd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GDataPlugin/Editor/GoogleDataSettingsEditor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
///////////////////////////////////////////////////////////////////////////////
///
/// GoogleDataSettingsEditor.cs
///
///
/// (c)2013 Kim, Hyoun Woo
///
///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -169,13 +169,13 @@ public override void OnInspectorGUI()
// client_id for OAuth2
GUILayout.BeginHorizontal();
GUILayout.Label("Client ID: ", GUILayout.Width(LabelWidth));
setting.OAuth2Data.client_id = GUILayout.TextField(setting.OAuth2Data.client_id);
setting.OAuth2Data.client_id = EditorGUILayout.TextField(setting.OAuth2Data.client_id);
GUILayout.EndHorizontal();

// client_secret for OAuth2
GUILayout.BeginHorizontal();
GUILayout.Label("Client Secret: ", GUILayout.Width(LabelWidth));
setting.OAuth2Data.client_secret = GUILayout.TextField(setting.OAuth2Data.client_secret);
setting.OAuth2Data.client_secret = EditorGUILayout.TextField(setting.OAuth2Data.client_secret);
GUILayout.EndHorizontal();

EditorGUILayout.Separator();
Expand All @@ -201,12 +201,12 @@ public override void OnInspectorGUI()

GUILayout.BeginHorizontal();
GUILayout.Label("Runtime Path: ", GUILayout.Width(LabelWidth));
setting.RuntimePath = GUILayout.TextField(setting.RuntimePath);
setting.RuntimePath = EditorGUILayout.TextField(setting.RuntimePath);
GUILayout.EndHorizontal();

GUILayout.BeginHorizontal();
GUILayout.Label("Editor Path: ", GUILayout.Width(LabelWidth));
setting.EditorPath = GUILayout.TextField(setting.EditorPath);
setting.EditorPath = EditorGUILayout.TextField(setting.EditorPath);
GUILayout.EndHorizontal();
}
else
Expand Down

0 comments on commit d5d5afd

Please sign in to comment.