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