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