From 219e32e3757e5fa5231e85e481e7b91679125f9d Mon Sep 17 00:00:00 2001 From: kanonji Date: Sun, 10 Dec 2017 02:24:33 +0900 Subject: [PATCH] Accept copy and paste in some fields of GoogleDataSettings --- GDataPlugin/Editor/GoogleDataSettingsEditor.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GDataPlugin/Editor/GoogleDataSettingsEditor.cs b/GDataPlugin/Editor/GoogleDataSettingsEditor.cs index ed81aaf..26a5242 100644 --- a/GDataPlugin/Editor/GoogleDataSettingsEditor.cs +++ b/GDataPlugin/Editor/GoogleDataSettingsEditor.cs @@ -1,7 +1,7 @@ /////////////////////////////////////////////////////////////////////////////// /// /// GoogleDataSettingsEditor.cs -/// +/// /// (c)2013 Kim, Hyoun Woo /// /////////////////////////////////////////////////////////////////////////////// @@ -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(); @@ -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