Quantcast
Channel: Answers by "The_Unity_Game_Developer"
Browsing all 8 articles
Browse latest View live

Answer by The_Unity_Game_Developer

So like: Could I do: var PauseCam = gameObject.Find("Camera"); var MainCam = gameObject.Find("MainCamera"); function Update () { if(Input.GetButton("escape")) { PauseCam.enabled = true; MainCam.enabled...

View Article


Answer by The_Unity_Game_Developer

To load a new scene when clicking a button, just use a simple GUI: if(GUILayout.Button("new scene")) { Application.LoadLevel("WhateverTheNameOfTheNewSceneIs"); } Keep in mind that this will position...

View Article


Answer by The_Unity_Game_Developer

From what I can see, you are trying to access a component itself. The Target that you think is a component is actually just a variable for a gameobject. They are two different things.

View Article

Answer by The_Unity_Game_Developer

Assuming you know some basic programming, I would create an array for the different meshes then scroll through it at a predetermined pace. I won't give you the code because I think it's best to learn...

View Article

Answer by The_Unity_Game_Developer

So like: Could I do: var PauseCam = gameObject.Find("Camera"); var MainCam = gameObject.Find("MainCamera"); function Update () { if(Input.GetButton("escape")) { PauseCam.enabled = true; MainCam.enabled...

View Article


Answer by The_Unity_Game_Developer

To load a new scene when clicking a button, just use a simple GUI: if(GUILayout.Button("new scene")) { Application.LoadLevel("WhateverTheNameOfTheNewSceneIs"); } Keep in mind that this will position...

View Article

Answer by The_Unity_Game_Developer

From what I can see, you are trying to access a component itself. The Target that you think is a component is actually just a variable for a gameobject. They are two different things.

View Article

Answer by The_Unity_Game_Developer

Assuming you know some basic programming, I would create an array for the different meshes then scroll through it at a predetermined pace. I won't give you the code because I think it's best to learn...

View Article

Browsing all 8 articles
Browse latest View live