Guidance info needed

Updated on October 10, 2017 in [C] Beginner
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
2 on August 20, 2017

For detecting collisions via C# I saw in that youtube video that a method called ‘OnCollisionEnter()’ was written in the script. Can someone please tell me where I can find the documentation of it, I mean how can I know which method is available to me while writing the script??

  • Liked by
Reply
0 on August 20, 2017

I am confused precisely on the nature of your question, but it sounds like you want simple documentation, furthermore, you are inquiring if Unity has something like Intellisense, That i do not know… I am looking to give you a quick reply, because it has been two hours, but i will look into this for you.

This is the Unity manual 2017.1 (https://docs.unity3d.com/Manual/index.html) Containing everything you could ever need, the documentation of OnCollisionEnter() Event is here (https://docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html)

I will get back to you on the other question.

EDIT:

It seems, you can change your editor to Visual Studio and use it’s Intellisense, and learn information as you program on which methods are available for which classes and such.

You can do this by: going into Unity and going under edit/preferences and set devenv as the editor, precisely… this is the Visual Studio’s launcher, that you must path down to… atleast… that’s what i did.

It’s path is this, with the * representing a wildcard, meaning things before that are interchangeable.

PATH: *\Visual Studio 2017 Community\Common7\IDE\devenv.exe

OH, and one more thing… please be wary of where you post things.. You are in the challenges postal area.

But it should be fine, just be aware before you post next time…

I hope i have proved of some use.

-Valkaaire.

  • Liked by
Reply
Cancel
0 on October 10, 2017

May be you are looking for this if not then let me know

https://docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html

  • Liked by
Reply
Cancel