28 lines
727 B
C#
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>();
|
|
}
|
|
}
|