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.
Newtonsoft JSON package maybe available for your version of Unity. Quick research shows packages available 2019.1 - 2021.2 or check package...
i think the proper solution is a collider around the player and collider around all the objects and let unity do the work for you.
Why would a gameObject be in the "trigger area" not set off the trigger event ? are you saying the white space is an exception to the green area ?
As Kurt-Dekker suggested, logging is always helpful. Perhaps add this to the Butterfly method, and before the If statement. Debug.Log("Butterfly...
If Unity exposed the "move operation" with an interface much like IdragHandler then anyone could attach code as they see fit. Not attaching...
You could try to move the "GetComponent" methods into Awake, otherwise, "object pooling" maybe the next step in performance increase.
Thanks for the suggestions. I already use SVN, and source control is reactive answer, as I would have to use the feature to compare or...
Hi Everyone, I have accidentally moved folders many times within my unity projects and spent up to 15 minutes trying to undo what I did. I...
A lot of coders build a "factory" for each type of "object." This makes it easier to understand and maintain, especial for other developers,...
if you update the public variable after the play button has been hit, then when game stopped values will revert back to what they were before you...
there are at least two ways to do this. 1) outline shader on your navmesh/meshcollider. this allows the outline to change with your mesh, but...
If you are learning just Unity and already know c#, then you can start with very simple projects in mind. a project that only has: movement...
What is confusing ? what is your expected outcome ? lines 30 - 34 are settings the scale which is why it is shrinking.
Not sure if you misunderstood Andy's suggestion. I had the same problem as you. Here is what works for me. I set a global "isdone" bool when...
This can be fixed by using custom export settings to exclude camera and lamp during the export. There several others settings in that menu. One...
can you confirm the class name and the name of the file containing "OnLanding" method is the same ? any errors in the console ?
This was a great discussion. I didn't expect to change my code, but a better solution did work out for me. i think we can agree foreach is bad....
Be careful using transform in a foreach loop when changing the parent, as the foreach loop will not cycle through all the immediate children. I...
I wrote an audio manager that has multiple sources, and just find one where Audio.IsPlaying is false. This works well since multiple effects can...
If you have a lot of objects in scene, then there are additional methods to consiider. . People have made scripts to search objects that are...