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