17 lines
390 B
C#
17 lines
390 B
C#
using Fantasy;
|
|
|
|
namespace Hotfix;
|
|
|
|
public class ChatComponentHelper
|
|
{
|
|
public static void AddChatUnit(Scene scene,ChatUnit chatUnit)
|
|
{
|
|
scene.GetComponent<ChatManageComponent>().AddChatUnit(chatUnit);
|
|
}
|
|
|
|
public static void RemoveChatUnit(Scene scene,long accountId)
|
|
{
|
|
scene.GetComponent<ChatManageComponent>().RemoveChatUnit(accountId);
|
|
}
|
|
|
|
} |