Ejemplo n.º 1
0
    //private int activatedTriggerHash;


    // Use this for initialization
    void Start()
    {
        //get a reference to the animator component of the target light
        anim = GetComponent <Animator>();
        //this.activatedTriggerHash = Animator.StringToHash("VehicleActivated");

        if (vehicle == null)
        {
            //get a reference to the vehicle
            this.vehicle = MyRoutines.GetPrimaryVehicle();
        }
    }