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 discovered the problem. I've been using a 2nd camera to create a render texture, for some reason it was tagged as main camera too (I don't know...
ScreenToWorldpoint is giving me the same values, except for the z pos, however since it's 2D this doesnt make a difference. I've tried...
As I stated, changing the z position changed nothing. Probably since I'm using an orthographic camera in 2D space and not in 3D space as in the...
ViewportToWorldpoint isn't giving me the values I'd expect, I want to get the coordinates of the corners. I'm using an orthographic camera for a...
I was having the problem in VR. Closing the game tab solved the issue.
Apparently the problem was that the default value of an enum is not the first entry of it but 0 (like I already mentioned before), so if the enum...
Do it like this: if ((x == 0) || (x == gridWidth - 1) || (z == 0) || (z == gridHeight - 1)) {...
Nevermind the int[,] array. I thought about saving indizes to access your gridBlock Array. But it's probably better to just use the list of valid...
First of all here: if (!gridBlocks[0, 0] && !gridBlocks[0, gridHeight - 1] && !gridBlocks[0, gridWidth - 1] &&...
The way you setup your code your raycast will only return the hitInfo of the first valid object you hit. Since you only have one object you can...
Your for loop only iterates once, it should be for (int i = 0; i < 2; i++) if you want to do it twice.
Does the size of your Textfield ever change? If not you can make a static string of dots without the need to calculate it each time....
Hello, I want to set the TextAlignementOptions for TextMeshPro in my inspector and assign it during runtime. However I get a nullreference...