Files
test/Assets/PerfectWorld/Scripts/Chat/ScriptableObjects/ChatSystemSO.cs
T
2026-03-24 15:53:37 +07:00

28 lines
727 B
C#

using System;
using System.Collections.Generic;
using CSNetwork.GPDataType;
using UnityEngine;
namespace BrewMonster.Scripts.ChatUI
{
[Serializable]
public struct ChannelIconMapping
{
public ChatChannel channel;
public string iconName;
public Sprite icon;
public string prefix;
}
[CreateAssetMenu(fileName = "ChatSystemSO", menuName = "Scriptable Objects/Chat/ChatSystemSO")]
public class ChatSystemSO : ScriptableObject
{
[Header("Button States")]
public Sprite selectedSprite;
public Sprite unselectedSprite;
[Header("Channel Icons")]
public List<ChannelIconMapping> channelIcons = new List<ChannelIconMapping>();
}
}