public override void Initialize(CustomEntityManager customEntityManager)
 {
     _entityManager = customEntityManager;
     _pathToPositionComponentArray = _entityManager.GetComponentArray <PathToPositionComponent>();
     _positionComponentArray       = _entityManager.GetComponentArray <PositionComponent>();
     _combatStatsComponents        = _entityManager.GetComponentArray <CombatStatsComponent>();
 }
예제 #2
0
 public override void Initialize(CustomEntityManager customEntityManager)
 {
     _entityManager        = customEntityManager;
     _teamComponentArray   = _entityManager.GetComponentArray <TeamComponent>();
     _targetComponentArray = _entityManager.GetComponentArray <TargetComponent>();
 }