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.
I have a prefab which has some child objects. Some of the child objects contain some child objects too. You can see that in the picture....
I tried the following script, and the same problem !! Could anyone help me please ? public Texture2D InnerTex; public Texture2D CurTex; public...
I'm trying to make a loading using 2 textures. Here is my code: public class Loading : MonoBehaviour { public Texture2D InnerTex; public...
What ?! why ?! did I say something bad ?! I've already done that and here is my code: void OnTriggerEnter(Collider otherObject) {...
No! I have only one scene, I control my levels with time !
Or I can check in which level I'm playing, right?!
Yea, I just realized that ! But how can I fix this problem? How can I tell when kills which enemy ?!!!
No ! I said in level one only green enemy instantiates ...
Yes, I removed the spacing and it still gives me the error. But it's on this line: enemy2.SetPositionAndSpeed (); The script name is also correct.
This is the error : NullReferenceException: Object reference not set to an instance of an object The player never dies and the lives of it...
I'm getting this error as well. I have an Enemy class which two classes inherit from. It gives this error for all of the variables (both public...
Yes, I have. Since every enemy has a specific script, I tried this: void OnTriggerEnter(Collider otherObject) { if...
In my game, I have different enemies each with a specific script attached to them. But all of them are tagged as "Enemy". Now when they hit the...
Thanks everyone
Hi I'm new to unity3d and I'm trying to make a simple game which consists of some sub-levels. All of these sub-levels are in one scene and they...