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.
Mobile platforms do not let applications run in the background for battery life purposes (aside from specific purposes, like audio playing). All...
It's worth noting that the map you provided isn't irregular hexagons. It's irregular polygons of mixed numbers of sides. I see 4-, 5-, and...
Use the Profiler window to work out what the process is that's taking a long time to execute. (It's usually either loading, or the Awake()/Start()...
You can copy the dictionary data to parallel arrays instead, it'll serialize those. Better yet, use Newtonsoft Json.Net instead of JsonUtility...
Yeah, that's sort of what I figured. Would have to write support for it into the engine from the ground up. Though it sounds like it's even worse,...
You've pasted the wrong script file. The error points to a file named "Granada"; this is GameManager.
I am guessing this is not possible in Unity, but I'd like to see if more expert Unity graphics folks have any ideas. I'd like to try rendering...
When you subtract 1 from the variable "ammo", you're subtracting 1 only from the number that exists in that function, specifically. You'll need to...
rotation.x .y and .z don't mean what you think they do. transform.rotation is a Quaternion, and if you aren't already intimately familiar with...
Well, the UniTask.Void() is just to kick off the function. Once you're in it, you can await the method that returns the Mesh, and run logic there....
UniTask is your answer here. void Start() { UniTask.Void( async () => { await Whatever(); } );
Is there anything to your trees except meshes and materials? The swapping process is likely to take enough time to eliminate gains from object...
Honestly, PlayerPrefs is pretty terrible in a number of ways, and the reliance on "magic strings" is just one of them. I have my own solution to...
You've figured out the solution. Load it and place it offscreen for a few frames, then move it into place.
Use code tags when posting code. Most likely the issue is the targetDir.Normalize() immediately after you get the input. Normalize() forces the...
Are you sure you got the error message right? I'm guessing it was supposed to be NullReferenceException. Generally, I'd recommend copying and...
1) Use code tags 2) How are you adding the item to the list? Through code or inspector? In game or in edit mode? When you do so, is the inspector...
You can tell how far an object is tilted from vertical using this logic: float degreesFromVertical = Vector3.Angle(Vector3.up, transform.up);
I think neoshaman has you in the right direction for fixing the functionality, so I'll focus on reducing lag: First thing I would do to improve...
So in Start(), you initialize the array to an array with 10 slots; however, each of those slots is empty by default. So...