修了不少东西

This commit is contained in:
FloatGaming
2026-07-16 23:04:59 +08:00
parent 29972d0705
commit 73fe474cc6
134 changed files with 7673 additions and 741 deletions
@@ -942,7 +942,8 @@ public class globalChatSystem : MonoBehaviour
playerMessagePrefab controller = instance.GetComponentInChildren<playerMessagePrefab>();
if (controller != null)
{
controller.Bind(senderSteamId, avatarUrl, displayName, string.Empty, message.content, bubbleColor);
string title = !string.IsNullOrWhiteSpace(message.player_title) ? message.player_title : string.Empty;
controller.Bind(senderSteamId, avatarUrl, displayName, title, message.content, bubbleColor);
}
return instance;