Add code UI and prefab chat system
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user