How to make a half 2d- half 3d main menu??

guys, i want to make a menu with a background 2d texture and there would be a logo of my game which should revolve(it is 3d) when i hover the mouse on it. how to make this?? More over can i make a high resolution main menu???

Pick one thing and look it up. Revolving objects, checking for mouse hover and making backgrounds are all here.

1 Answer

1

The resolution can be as high as the resolution of the screen being used…

The easiest way to create your background texture is probably with a plane, just create a plane and add the texture, and line it up with the camera.

Now as for the 3D object, just drop it in place in front of the plane, then add a simple script such as:

function Update(){
var hit : RaycastHit;

    if(Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition),hit)){
         if(hit.name == "Name of the object")
         hit.transform.Rotate(Vector3.up * Time.deltaTime);
    }
}

(for this example, the object needs a collider to work)

will the background plane be of high quality?

it CAN be.. absolutely, this method will not diminish the possibilities for quality, fret not!

yes that is correct 2 d and 3d can be done in menu