Add code UI and prefab chat system

This commit is contained in:
CuongNV
2026-03-18 15:55:24 +07:00
parent d329d825e7
commit d0eed02f47
15 changed files with 1985 additions and 57 deletions
@@ -0,0 +1,22 @@
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;
}
[CreateAssetMenu(fileName = "ChatSystemSO", menuName = "Scriptable Objects/ChatSystemSO")]
public class ChatSystemSO : ScriptableObject
{
[Header("Channel Icons")]
public List<ChannelIconMapping> channelIcons = new List<ChannelIconMapping>();
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: b526dcb3716f21e4e815d1c561a7b86b