public void StartActionOnLane(Lane laneComponent, RessourceType tourRes, RessourceType pigType, TourType tourType) { if (!laneComponent) { return; } StartCoroutine(ActivateInput()); List <Transform> pigPath = new List <Transform>(); foreach (Transform pathPoint in m_PigsStartPath) { pigPath.Add(pathPoint); } pigPath.AddRange(laneComponent.PigPath); Pig pigComponent = GetPigComponentByType(pigType); if (pigComponent) { pigComponent.UsePig(pigPath, m_towers.GetTowerObject(tourRes, tourType), laneComponent); } }