You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
567 B


using ET.EventType;
namespace ET
{
public class AfterCreatePeople_AddComponent : AEvent<EventType.AfterCreatePeople>
{
protected override void Run(AfterCreatePeople args)
{
var unit = args.Unit;
var people = args.People;
var pvc = people.AddComponent<PeopleViewComponent>();
people.AddComponent<PeopleAnimatorComponent>();
people.CheckWork();
// PeopleViewHelper.UpdateAnimatorByBehave(people);
people.AddComponent<PeopleAIComponent>();
}
}
}