Beispiel #1
0
 protected override void Awake()
 {
     base.Awake();
     truckController = GetComponent <TruckController>();
 }
 protected virtual void SetTarget(Transform target)
 {
     currentTarget   = target;
     truckController = currentTarget.GetComponent <TruckController>();
 }