CTT/Unity/Assets/HotfixView/Event/EnterUnitEvent.cs

15 lines
285 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using ET.EventType;
using System;
using System.Collections.Generic;
namespace ET
{
public class EnterUnitEvent : AEvent_Sync<EnterUnit>
{
public override void Run(EnterUnit args)
{
MainUI.AddUnit(args.Id, args.job, args.name);
}
}
}