So first I cannot move my camera freely when on the scene creation menu thing I’m using a Mac but I don’t know how to freely move my camera
Second when I spawn a cube I can resize it perfectly fine but it has no texture its just an invisible box with a green outline so I can’t view it while on the game menu
Third how do I increase the terrain size I seem to can’t figure out a way and when I change the scale option when clicking terrain nothing changes
Fourth how do I change the skybox
thank you for viewing this I look forward to your answer thank you
(I am using unity 5.6)
Update there is a new problem that I’m not very sure about as well this line of code doesn’t work and I don’t really understand why could maybe someone tell me whats wrong with it thanks.
(I am fairly new to unity so I am really sorry for bugging you guys out there)
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class menuScript : MonoBehaviour {
public Canvas quitMenu;
public Button startText;
public Button exitText;
// Use this for initialization
void Start ()
{
quitMenu = quitMenu.GetComponent<Canvas> ();
startText = startText.GetComponent<Button> ();
exitText = exitText.GetComponent<Button> ();
quitMenu.enabled = false;
}
public void ExitPress()
{
quitMenu.enabled = true;
startText.enabled = false;
exitText.enabled = false;
}
public void NoPress()
{
quitMenu.enabled = false;
startText.enabled = true;
exitText.enabled = true;
}
public void StartLevel()
{
Application.LoadLevel (1);
}
public void ExitGame()
{
Application.Quit ();
}
}
I don’t know how to move the camera freely on a mac but normaly you have to keep the right mouse button clicked and then you can use W A S D to move arround
I think you didn’t spawn a cube, you just spawned a collider and i don’t know what exactly you mean with “spawn” but if you just want to add a cube to the scene, you just have to click above on the “GameObject” Tab, go under the 3D objects and click on “cube”
to increase the terrain size you have to go into the inspector of the terrain and there should be a few options like creating hills and so on, also there is a little gear symbol, just click on that and scroll down a bit 'till there is written “terrain width” “terrain length” “terrain height” and ther e you can type in the size you like
To change your skybox you have to click on top on the “window” tab and then choose lighting, now should pop up a window where there is a tab called scene, here you can choose your lightbox. to make a lightbox, you have to drag into unity a picture you’d like as skybox and change the texture type to “cubebox” now you can use it as a skybox