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.
Thanks for your help and your examples. This helped me a lot = )
Ahh, I think that's a great idea! But it's still pretty hard to get a specific index without first retreiving the type. Unlike components, the...
I've been working on an Inventory system for quite a while now. I have a basic version working with UI, dropping, picking up and stuff, but now I...
The 2 cubes were an example so that you understand. And it was assumed they have the same mass and volume. That is what I use to make it not be...
I don't know if you got my question right - or my problem. In the attached image you see how the suspension works. My problem is that I can't...
I am currently working car controller and trying to perfect my suspension system. My problem is that if one(or more) of the suspensions get...
I found the answer. To display a Texture in a custom editor you use these lines of code: AssetPreview.GetAssetPreview(texture);...
Hello! I am making a custom editor window for working with Perlin Noise textures (octaves) and I want to have a preview in the editor, but as the...
I've noticed the same thing. That's why I was confused about it's use. But I think your guess is right, it does make sense.
You have 2 options. Make a timer like PraetorBlue said. Decrease the value of foodDecrease/ drinkDecrese/ healthDecrece until it matches your...
First of all I would suggest you not to have a separate function for updating every value about your player stats. You could have a...
This works. Thanks! Can someone tell me when and what the function DrawDefaultInspector() returns so that I won't have any confusion in the future?
When one of the boxes is checked I set the bool to false and add/subtract 1 from a value. These bools do not have any other uses than to be used...
Hello, I have seen someone in a tutorial use: if (DrawDefaultInspector()) { DoSomething(); } He said that when a value in the editor...
Are you sure that "30 minutes ago" you had convex unchecked and you had the green wireframe show up? I've never seen the wireframe show up when I...
Oh, right, sorry. This is how I did it in a previous project. I had a empty GameObject(FootLocation) childed to the player and put it at the...
Hey pappalardodd, You said that you are using the character controller component to move your player around? You can use this line of code to test...
Thank you for the code, it really helped me =)
Awsome Thanks
Hello guys, I am trying to make a script that would flatten the terrain under a building when i place it ingame. I had a very hard time...