Quantcast
Channel: Questions in topic: "choose"
Browsing all 81 articles
Browse latest View live

How can i choose the UV than i want to use with each Texture of a material ?

i have a huge building with a lightmapped/bumped-specular material. I got 2 UV. UV1 (tilling) is for the diffuse. UV2 (unwrap) is for the lightmap. Unity automatically affect bumpmap to UV1, but i want...

View Article



Selecting gameobjects in game,

Hey! Need help with a script, the thing is that i want to be able to click a gameobject, in game and i want it to get highlighted, and set som kind of variable. Final result is that i can click a...

View Article

Static variable and Materials

Hi there! im trying to create smt like lego game. Now im trying to create system, thats allow player to choose between several (actually 66) materials for blocks. here is the code: (java)var...

View Article

Examples for realtime moving or hiding of props?

Hi everyone,I'm new to Unity and even more new to programming in general. I'm hoping to find good tutorials or example files specifically for the following situation.I've created an interior of an...

View Article

2 audio sources on a game object, how use script to instruct one to play?

If I have an empty game object with two audio sources, each with a unique audio clip. How, in script, do I pick one from the other? Let's say one audio source has a audio clip called jump.mp3 and the...

View Article


Image may be NSFW.
Clik here to view.

choose random waypoint

http://screencast.com/t/BFgPLx3jJcI started with the fps tutorial and am using the script as a basic. What i want is that the AI robot chooses a random corridore. So 1 of the two waypoints. I'am...

View Article

My monster only choose one Target

Hi, I have been using as base, script monsters made by Unity, but now I have a problem, I have a couple of characters on the Game, so it have became a problem for my monsters, they don't know how to...

View Article

Unity 3.3 vs Unity 3.4

I'm brand new to unity and I've done some research on it. I've noticed that some people are saying version 3.4 has some bugs and issues. So should I get the more stable version 3.3 or the more up to...

View Article


is there a way to change the public inspector details at runtime

im curious if this can be done public bool useStatic; public GameObject[] staticOjects; public GameObject[] nonStaticObjects; so that if useStatic = true; , then only staticOjects would show in the...

View Article


Left 4 Dead-style Spawnpoints?

Hi everyone. I need help with making a game where one person has to get to the other side of the map, and the other person tries to stop him. The person trying to stop him can choose from physical...

View Article

How to Choose a character.characters before game start

How to Choose a character. before game start I have 10 characters I want to Choose a character. the character on GuiTexture , Then Choose a character. the map for start game What should I do? What I...

View Article

Using arrays to randomly select an object

Hi there, I'm a newbie scripter and I'm trying to figure out how to have a script select a random object (say, every few seconds). I have 3 cylinders (let's call them Tube1, Tube2, Tube3, 1 of which...

View Article

Footstepsound choosing with less if else code?

this is more a question (is this possible and is this faster to execute for unity) I am making a first person scary horror game. I have a script in my game for the headbobbing so that the camera goes...

View Article


How to get the player name , level and money out of the database ?

im making a big project game hoping to finish it by the end of the summer but im trying to make a scene in unity after you log in to show the name the level and the cash up the corner of the scene , so...

View Article

Choose random Gameobject from array?

Hi, sorry if this has been asked before, but I haven't found any answer. I'm trying to make my script choose a random gameobject from my array. GameObject[] spawnPoints =...

View Article


How to add animation to play after user choose the wrong answer

Okay im a really newbie so sorry for that hehe anyway my question is how can i add animation to my code after the user chooses the wrong answer anyway this program is a QandA game where in when you...

View Article

Why should I include lesser "Quality Settings" in my build?

I've been scouring the answers area for some time now, to find my answer, but haven't seen it. I'm confused as to what to use/set the Project "Quality Settings" for... I actually have this concept in...

View Article


What chooses quality settings, if I don't specify?

Hello Awesome Answers community! This has been rolling around in my head for weeks now, but I'm just getting to post it today: I can set the various quality settings which will be available for use in...

View Article

Choose random from given numbers

Is there some function in C# like: var randomN = choose(1,5,10,15); Let`s say. I need to specify those numbers. Some simple function please. Random.Range() is not what I need. **REASON:** **I need to...

View Article

How can i choose the UV than i want to use with each Texture of a material ?

i have a huge building with a lightmapped/bumped-specular material. I got 2 UV. UV1 (tilling) is for the diffuse. UV2 (unwrap) is for the lightmap. Unity automatically affect bumpmap to UV1, but i want...

View Article
Browsing all 81 articles
Browse latest View live




Latest Images