Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     my_SteeringBehaviour = GetComponent <SteeringBehaviour>();
     my_SteeringBehaviour.SetVehicle(this);
     rig             = GetComponent <Rigidbody>();
     boxCollider     = GetComponent <BoxCollider>();
     taggedObstacles = new List <GameObject>();
 }