Files
2026-03-04 09:37:33 +08:00

92 lines
2.4 KiB
C#

using UnityEngine;
namespace TankAndHealerStudioAssets
{
public static class UltimateChatBoxStyles
{
public static UltimateChatBox.ChatStyle none = new UltimateChatBox.ChatStyle();
public static UltimateChatBox.ChatStyle boldUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true
};
public static UltimateChatBox.ChatStyle blueUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = new Color(0f, 0.5f, 1f, 1f)
};
public static UltimateChatBox.ChatStyle greenUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = new Color(0f, 1f, 0f, 1f)
};
public static UltimateChatBox.ChatStyle whisperUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameItalic = true,
usernameColor = new Color(1f, 0.25f, 1f, 1f),
messageItalic = true
};
public static UltimateChatBox.ChatStyle noticeUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = Color.yellow,
messageBold = true,
disableInteraction = true,
noUsernameFollowupText = true
};
public static UltimateChatBox.ChatStyle noticeMessage = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = Color.yellow,
messageBold = true,
messageColor = Color.yellow,
disableInteraction = true,
noUsernameFollowupText = true
};
public static UltimateChatBox.ChatStyle warningUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = new Color(1f, 0.465f, 0f, 1f),
messageBold = true,
disableInteraction = true,
noUsernameFollowupText = true
};
public static UltimateChatBox.ChatStyle warningMessage = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = new Color(1f, 0.465f, 0f, 1f),
messageBold = true,
messageColor = new Color(1f, 0.465f, 0f, 1f),
disableInteraction = true,
noUsernameFollowupText = true
};
public static UltimateChatBox.ChatStyle errorUsername = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = Color.red,
messageBold = true,
disableInteraction = true,
noUsernameFollowupText = true
};
public static UltimateChatBox.ChatStyle errorMessage = new UltimateChatBox.ChatStyle
{
usernameBold = true,
usernameColor = Color.red,
messageBold = true,
messageColor = Color.red,
disableInteraction = true,
noUsernameFollowupText = true
};
}
}