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.
Oops, no I don't get an error in the console. Here let me post a screenshot. [ATTACH]
First I want to say this all works. I load a texture2D into an array, iterate over the array using each texture in my Sprite.Create() method, and...
Wow, thank you. I can't believe I made such a novice mistake :oops:
I have 2 classes. public class A { public int foo; } public class B : Monobehaviour { A[] myFoo = new A[8]; void Start() { myFoo[0].foo = 1;...
Sorry to necro this over 7 month old thread but I was curious about the actual creation of the variables. I've seen also of tutorials on how to...
Off the top of my head I can't think of the reason why using the OnMouseEnter/OnMouseExit would be bad. I sort of remember reading an article or...
I will do my best to describe what I am trying to do, I'm not sure the title does a good job. So I have 2 sprites that are 16x16px. One is a...
transform.Translate(dir.normalized * speed * Time.deltaTime, Space.World); This worked! Thank you so much!
@hawken Already tried LookAt and it didn't work. When I run the code, the sprite rotates on all 3 axis. @LiberLogic969 This didn't work either,...
I have a simple sprite that follows several waypoints automatically, the problem is I cannot get the sprite to rotate towards the next waypoint....
I got it to work Adam! I can't tell you how many times I read http://docs.unity3d.com/ScriptReference/RectTransform.html I feel so happy to...
To be totally honest I've never made a mobile game before, but as far as I know you cannot use a traditional joystick with it. I could be wrong...
I have a textbox with a Rect Transform at Left: 463 Top: 480 Pos Z: 0 Right: 0 Bottom: -43.79999. What I'm looking to do is move the textbox from...
Thanks for the solution. I did as you said and now I'm able to access the array!
In my tile script I have the following line: "int[,] map = new int[20,20];". In Start(); I do the following: int[,] map =...
I'm by no means an expert, but I don't see why you couldn't use Unity to do all those things. I don't believe it would be too difficult to create...
This is the error Unity3D is giving me: "NullReferenceException: Object reference not set to an instance of an object player.Update () (at...
I have solved my problem. Seems the issue was the size of the BoxCollider2D. I had it at 64x64 it was way to large. The solution was to set the...
In a quest to port my flash game to unity I've had to rewrite a lot of the code. One problem I'm having now is moving my player ship sprite to the...
Punchbag I do want to thank you for your assistance. I took a long hard look at what I was doing and came at it from a different angle. I removed...