Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by VoxelBoy · Oct 16, 2010 at 06:33 PM · monodevelopreferencedocumentation

Launching local Unity API Reference from MonoDevelop

Latest version of MonoDevelop that comes with Unity 3 has the neat shortcut ' which takes you to the Unity API Scripting Reference. However, while it sometimes opens the local documentation as I want it to, sometimes it will open the documentation at unity3d.com. How can I make it consistently open the local documentation?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tolu_Dev · Sep 11, 2015 at 08:57 AM 0
Share

Hey..... my offline unity scripting reference doesnt display properly..The manual works fine but the scripting reference is not opening...Any I deas where I can download it ...Or how to make it work..........Nd I dont get internet acess all the time so I need it badly....

7 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by Martin Bernemann · Jun 21, 2015 at 11:38 AM

Unity's Mono AddIn searches at fixed paths for local documentation and uses the online one, if it cannot be found there. The standard installation uses slightly different paths. To fix this you can create the following symbolic links.

For Mac, as admin, create:

 for name in $(ls /Applications/Unity/Documentation/en/); do ln -s  /Applications/Unity/Documentation/en/$name/   /Applications/Unity/Documentation/$name; done

On Windows, as admin, use:

 mkdir "c:\Program Files\Unity\Editor\Data\Documentation\Documentation"
 mklink /D "c:\Program Files\Unity\Editor\Data\Documentation\Documentation\ScriptReference" "c:\Program Files\Unity\Editor\Data\Documentation\en\ScriptReference\"
 ...

Hint to Unity: Great tool! Easiest solution would be adjusting the lookup paths in the AddIn accordingly. As far as I can tell, this affects lines 56-60 in UnityUtilities/Commands.cs. Also, if no direct hit was found and it switches to search, it will always go to the online version, which would not be necessary. This affects parts that have no topic of their own or if a type or method name is only partially selected.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bgmtailor · Nov 05, 2016 at 05:09 AM 0
Share

it seems that the latest documentation has been moved to docs.unity3d.com/$$anonymous$$anual.. so i still meet this problem and see a 404 page. Do you have any solution for it?

avatar image
3

Answer by marsking · Nov 11, 2010 at 06:09 AM

hmm..i also want to know how to do? i use ctrl+' to take the Unity API Scripting Reference will very slow.. :(

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
3

Answer by Karsnen_2 · Apr 29, 2013 at 04:28 PM

For any Unity type selected in your code, you can press CMD+’ to jump to Unity’s manual page on that type in your browser. No more googling “Unity GameObject”!

For more TIPS and TRICKS on Mono + Unity3d, take a look at this cheatsheet for shortcut and it's blog for detailed explanation on Tips and Tricks. Worth the reading.

http://philippseifried.com/blog/2012/08/07/monodevelop-cheatsheet/

http://philippseifried.com/blog/2012/08/06/unity3d-monodevelop-tips-and-tricks/

CHEATSHEET PDF :

http://www.philippseifried.com/blog/files/misc/Unity-MonoDevelop-Cheatsheet.pdf

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by LukaKotar · Jan 02, 2015 at 11:29 AM

You can use Redirector (Firefox, Chrome or Opera) to redirect to your local documentation. Install the addon, and open the options. (Ctrl+Shift+A > Extensions > Redirector > Options)

Then use these values (or similar, depending on the location of your local documentation):

  • Description: Unity Documentation (or whatever you'd like)

  • Example URL: http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=Transform (Or any other search query. Used to preview what the link will redirect to. This is optional.)

  • Include Pattern: http://unity3d.com/support/documentation/ScriptReference/* Note that I use unity3d.com/support/documentation/ScriptReference/..., because that is the URL opened by MonoDevelop, which is then redirected to docs.unity3d.com/ScriptReference/...

  • Redirect To: file:///C:/Program Files (x86)/Unity/Editor/Data/Documentation/html/en/ScriptReference/$1 If Unity is not installed on the C drive or if you use a different OS, you're gonna have to find out what the local URL looks like, and replace everything to the right of /ScriptReference/ with $1. (`/ScriptReference/index.html` to /ScriptReference/$1)

  • Pattern Type: Wildcard

  • You can leave all other fields as they are.

Now anytime you press the shortcut, you will automatically be redirected to your local API reference instead of the online one. I've also tested it without internet connection. Unfortunately, the addon is only available for Mozilla Firefox, and I haven't succeeded in doing that with other tools for different browsers yet.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JalonJiang · Aug 16, 2016 at 05:57 AM 0
Share

Thank you very much,that's really helpful!

avatar image falkolab · Nov 28, 2016 at 08:45 PM 0
Share

Also I did symlink from Unity local docs to the root of my local web server. This need due browser security restriction: it reject redirects to local files.

avatar image
0

Answer by Tak · Dec 09, 2010 at 01:58 PM

MonoDevelop will use the local documentation when it finds an exact match. When it has to perform a search, the web api is used instead.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to get F1 in MonoDevelop to open Unity script reference and/or MSDN c# reference? 3 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

accessing a script that is on multiple objects 2 Answers

What is line endings policy settings? in MonoDevelop 0 Answers

Script works for NPCs, but not Player 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges