From 9173a097e0d0321db4810f03570d89537c14f1a5 Mon Sep 17 00:00:00 2001 From: Ino Date: Fri, 26 Sep 2025 18:10:56 +0900 Subject: [PATCH] =?UTF-8?q?role=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Chat/ChatUI.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/Chat/ChatUI.cs b/Assets/Scripts/Chat/ChatUI.cs index 4f76c00..0454eb7 100644 --- a/Assets/Scripts/Chat/ChatUI.cs +++ b/Assets/Scripts/Chat/ChatUI.cs @@ -46,13 +46,13 @@ public class ChatUI : MonoBehaviour void Set_Chat(ChatHistory chat) { - if (chat.role.Equals("girl")) + if (chat.role.Equals("assistant")) { var chatscript = DSUtil.Get_Clone(go_chatGirlCard, tf_parent); chatscript.Set(m_Data.n_GirlID, chat.content); list_chat.Add(chatscript.gameObject); } - else if (chat.role.Equals("me")) + else if (chat.role.Equals("user")) { var chatscript = DSUtil.Get_Clone(go_chatMyCard, tf_parent); chatscript.Set(chat.content); @@ -97,7 +97,7 @@ public class ChatUI : MonoBehaviour var myhistory = new ChatHistory { - role = "me", + role = "user", content = if_msg.text, timestamp = InternetTime.Ins.Time.ToString() }; @@ -125,7 +125,7 @@ public class ChatUI : MonoBehaviour var girlchathistory = new ChatHistory { - role = "girl", + role = "assistant", content = data.response, timestamp = InternetTime.Ins.Time.ToString() };