I have a house model and I wanted to go to the bathroom by clicking a button or go to the kitchen.
make a empty gameObject at the place where the camera should translate to… then in a script that is attached to the main camera add the following
var _position:Transform;
function OnGUI()
{
if(GUI.Button("Bathroom"))
{
transform.position=_position.position;
}
}
dont forget to attach the empty gameObject to the _position variable in the editor… Btw modify ur button according to your need from this page