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.
No, that's not a style preference. I never stated, that it will net you performance, as yeah, it won't. But having everything public in your code...
Well then, time to create a health handling component. If the enemy wants to attack *something*, they get the health component of the player and...
You can't like this, it's important to understand, that unless you do something more complex, you can't have any two lines of code ran at the...
Run a flood fill on any empty cell, after you're done, search for an unfilled cell. If there is one, your grid is disjointed. You might be doing...
Show some code, I'm not even sure I understand the problem.
Instead of generating random points, just loop through both axes, x and z and use those loop variables as your position.
Don't use addForce for jumps. It's actually a quite common issue. Your character is probably colliding with the ground for multiple frames and you...
Well, you could flood fill the thing, that would be a (slow) solution. Really depends on how big these patches are.
Well, I don't see the code (at least I don't think I do) where you try to replace the pages.
Pretty much, but with additional protections around them so you can't create two accidentally
Well, you have no code to achieve that, take a look at transform.LookAt
Avoid statics as much as possible, this would probably be nicer as a singleton or something. The real question though I assume is the act of...
Set it to validate integers: https://docs.unity3d.com/2018.3/Documentation/ScriptReference/UI.InputField-characterValidation.html Or even better,...
Instead of deleting your own answer, you could instead answer it, so that if someone finds it, they might be able to solve their own problem
Sounds like a reference type problem. When you do List<int> a = b; Well, now you have 2 copies of the list, but in the sense, that they are the...
Don't use a double, that range is very misleading, the range in which you are capable of using whole numbers without a hitch is only 10^16, which...
You don't set the bool to false, also, this is not the best idea, as you can hit a wall and be able to jump and it's god awful to test if the...
Encrypt it then, there are tons of resources online. Although if it's a single player game, you might not want to. Some players do get a lot of...
Hmm, depending on the requirements, you could do the following: If your cube and wall are aligned, so one of the cube faces is parallel to the...
(tbf, I'd still consider this scripting as it's not necessarily about the navigation itself, rather scripting around it and that forum isn't...