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.
When I spawn an image or text in a canvas it's scaled by 1.619433
Is this a bug?
It continues to run indefinitely, not only the first frame. I'll try it in a separate project.
Ok now I think I get it. It's killed indirectly by...
Very nice of you to make this tool free, thanks. I have a question. If I kill a coroutine the same frame I started it it still continues to run....
Thank you for the help.
I should have been clear that it was a cached variable, not transform per say.
private void SendTransform()
It's easy to make mistakes these days ;). So much stress.
Or does it not make much difference for optimization?
Ok. I'll use the code feature next time then. The main problem was that the function:
screenPos = cam.WorldToScreenPoint(positionOfEnemy);
if (screenPos.y > 0)
screenPos = new Vector3(screenBoundsY / m, screenBoundsY,...
I apologize. I've now updated the OP with a lot better description.
The blue square indicated the location of the current lock on target when it's off screen and it works very well except for when the player runs...
That's probably it. I can't believe I missed that lol.
edit: yes that was the problem. Thanks a lot, I just wish I didn't waste hours on such a...
I don't understand how to make something like this work:
<author>Giada De Laurentiis</author>
Thank you again very much for your help. I'm gonna go with your solution instead and then I don't have to worry about this. I appreciate the lesson.
They are ref types, but since it didn't work to use ref for value types I thought maybe it could be the same for using a reference type.
Thank you. So I haven't done anything wrong when I tried arrays, is it true they work like?
I'm trying to have a script which reads all inputs...
That didn't work either unfortunately. Can someone please explain to me what I'm doing wrong? I don't understand why this does not work. Does it...
I know that Update is called after but I thought that the ref would persist. The reason it works for structs, lists and arrays is cause we never...
If I do something like this
number = GetNewValue();