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.
Hm. He stated that the scripts are assigned to different objects. But, whatever...I'll keep my mouth closed. :)
Hm. Do I miss something? You can't assign a script component reference via the inspector.
Imho there's no question that the code from your initial post won't work. You'll get a NullReferenceException with this code. Either the code is...
Alright. Let's start from a scratch. :) You do have a single player gameobject and the scripts ('Lives' and 'Collisions') from your initial post...
Debug.Log( col.gameobject.name);
This is no valid code: public lives livesScript; void OnCollisionEnter(Collision other) { livesScript.Lives(); }...
I guess you'll have to add you dll to the Assets folder of you Unity project.
Hey. This page could be helpful.
Add an array or list of the desired data type to your class declaration and store the values in this array/list.
As far as I understand the initial post his problem is that the line don't has an unique width. The line starts with a small width and ends with a...
Hello, Is this 2D or 3D?
Hello, Could you please show you object generating code? Please don't forget to include you code in code tags :)
If you're not good at scripting it's probably easier to use a free or cheap asset from the asset store?...
I've not reviewed you code fully, but it's probably much easier and faster to store all of the created object in a array instead of using...
That's true. I was assuming that one is using unique names and reliable name conventions/management of names. Coming to dynamically created GO I...
I am doing this stuff in Start() avoiding as much as possible in the Inspector. :) For me it provides more overview as I don't have to switch to...
The parameters of Vector3() are x, y or x, y, and z.
This tutorial shows how to instantiate new gameobjects using a prefab.
2D box or circle colliders depending on the type of UI element? I don't know, I am basically guessing around. Never tried this, sorry. :)
I guess you problem is withing the calculation of the RayEnd vector so your ray doesn't hit any gameobject. Could you please show the regarding code?