18 lines
421 B
C#
18 lines
421 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using FairyGUI;
|
|
|
|
public static class EmojiDitc
|
|
{
|
|
public static Dictionary<uint, FairyGUI.Emoji> EmojiesDitc = new Dictionary<uint, Emoji>();
|
|
|
|
public static void AddEmoji(uint code, string emoji)
|
|
{
|
|
//Debug.Log($"add emoji code={code} emoji={emoji}");
|
|
EmojiesDitc.Add(code, new Emoji(emoji, 36 , 36));
|
|
}
|
|
|
|
|
|
}
|