How to change characters with pressing a button

Hi, I am making a GTA clone. I want to press E to change from character to car. I know how to change cameras.

1- Add a trigger to car. Basically add a cube to the car and parent it, select isTrigger and close MeshRenderer. Let’s tag it as “carTrigger” .

Now add Player this code :

 var item1 : GameObject ; //select the car

  function OnTriggerStay(c : Collider)
   {
        if(c.gameObject.tag == "carTrigger")
        {
           if(Input.GetKeyDown("e"))
            {
           gameObject.active = false ;//player is not active
           item1.active = true ;//car is active
            }
        }

   }

this is a way you can use, but there are many ways without using active . While car is not active you can use a dublicade car without driving code and deactivate it when your car with driving script becoming active.

You might want check this out: http://forum.unity3d.com/threads/207001-GTA-V-Character-Switching-System-Character-Wheel-(COMING-SOON)