Exemplo n.º 1
0
 public void initLanding(StationLanding stationToLand, Vector3 landCorrectionPosition, Vector3 targetPosition)
 {
     stationLanding   = stationToLand;
     gameObject.layer = LayerMask.NameToLayer(landingLayer);
     pathLine.resetLine();
     pathLine.createLandingLine(landCorrectionPosition, targetPosition);
 }
Exemplo n.º 2
0
 public void finishDeliveryProcess()
 {
     if (containerManager.getContainersCount() > 0)
     {
         gameObject.layer = LayerMask.NameToLayer(defaultLayer);
         stationLanding   = null;
         isLanded         = false;
         return;
     }
     ;
     gameObject.layer = LayerMask.NameToLayer(deliveredLayer);
 }
Exemplo n.º 3
0
 void Start()
 {
     stationLanding = GetComponentInParent <StationLanding>();
 }