A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
if(Input.GetKeyUp(KeyCode.Return)){ Debug.Log("Enter"); Send(Chat_Text); Chat_Text=""; GUI.FocusControl("Chatlog"); } this works, but i dont...
Hi, i am working currently working on my chat. I have this function: void OnGUI(){ // other code if(Chat_visible){...
Ahhh i get it >< thank you very much Eric5h5 :D the right code is: Buffs[i].Stacks = new Buff[1]; Buffs[i].Stacks[0] = new Buff();...
is there a way to create it instant? yield in this code does not make sense :/
Hi, i am having some problems with this: Buffs[i].Stacks = new Buff[1]; Buffs[i].Stacks[0].GO=GO; // here comes the Error:...
it works! thank you very much :D
i want to show i self made class in the inspector like this: [img] that means i enter the number i want to have and then i can enter the...
i have some public bools like Quest useable and so on those tell me if it is a potion i can use, a sword i can equip or an quest item i have to...
i created a basic item class it looks like this: public class Item : MonoBehaviour { public string Name; public string Typ; public string...
well my script already does it: transform.position+=-direction*speed*Time.deltaTime; thats the line -direction or +direction depends on...
http://unity3d.com/support/documentation/ScriptReference/Object.DontDestroyOnLoad.html check this out. maybe it could work with this, so the...
not tested but must(can) be like this: float amount; public GameObject player; Vector3 direction; Vector3 runPoint; Vector3 walkPoint;...
The function for a circel is y= sqrt(r²-x²) you can take y as the output and x as the input r represents the radius in your image x has to...
Hi, i am trying to set a text and a texture on one gui.button. but i cant figure out how they overlap. i am trying to make an item and want to...
well it has nothin to do with unity, but in math it means much bigger/smaller than.. ;)
I am getting hard problems now, because i am still setting the texture to null. Can someone say if this Error msg will be removed or not? dont...
you have to start a Coroutine like this : IEnumerator Shot(){ while (EnemyAmmo < 10){ Vector3 position = new...
GUIManager GM = myObject.GetComponent(typeof(GUIManager)) as GUIManager; i do it like this.
OnGUI(){ if(GUI.Button(new Rect(x,y,100,100)),"button"){ someCode(); } } public void someCode(){ ... // code 4 button click here }...
Erstmal würde ich dir nahelegen , ein paar Sachen am Script zu verändern (aus performance Gründen) Und zwar würde ich die Variable controller...