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
1
Question by SisterKy · Dec 10, 2009 at 10:51 PM · beginnerscriptingbasicsdocumentationlearningwhere-to-start

How to find what you're looking for in the Documentation?

My Problem is, if I search the API for "yield", it gives only some rough idea about what exactly it does. Searching for "function" returns Zero entries. If I search the frontpages of the Manual, the Reference and the Scripting-documentation with my browser's "find next" for the term "function" I still don't get any hit for a "further reading". By now I know that I have to look out for "MonoBehaviour" if I want to find out about "function XY", though I'm not quite sure if that gives me all the possible keywords I can put after the "function"-keyword in a script??

I suppose the general idea about what things do is not the API's job... That's what the Scripting-Overview and the Manual are there for... but those are excluded form the search-option so it's a pain to find what you want.... :( How do I find out there's a page about my topic in the ScriptingOverview, in the Manual or in the Reference? Especially if I'm not sure which of the synonymous terms (function / behaviour / whatnot) I need to look out for...? :-/

So, can you give me some hints on how to get the most out of the documentation, please? So I have to pester you less in the future ;)

Greetz, Ky.

(In my defense for asking a seemingly stupid question I might add that I'm not the only one in my course to annoyedly utter something along the line "I know I've read about this here somewhere already, so where the heck did that page go??")

Edited shorter for convenience

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 BerggreenDK · Jul 20, 2011 at 02:18 PM 0
Share

yield is one of the most weird functions to understand if you ask me. but once you learn it, its not that hard.

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by davebuchhofer · Dec 11, 2009 at 02:59 AM

I tend to use a custom Google search instead, it pulls info from all the documentation areas, and also from answers. and the forum.

thanks to Tri3 from IRC for keeping it updated: http://www.google.com/cse/home?cx=002470491425767499270:iugs1ezlsfq

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 SisterKy · Dec 11, 2009 at 03:02 PM 0
Share

Thank you! =) With my first few tests with this I got useful results really quick. happy I'll definitly use this :D

avatar image
1

Answer by flaminghairball · Dec 10, 2009 at 11:00 PM

Hello, There's a pretty nice reference here for coroutines/yield statements: http://unity3d.com/support/documentation/ScriptReference/index.Coroutines_26_Yield.html .

Which can incidentally be found in the sidebar of the home page for the scripting reference under "Coroutines & Yield".

Good luck!

-Lincoln Green

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 SisterKy · Dec 11, 2009 at 12:12 AM 0
Share

Ok, I'll admit I was pretty blind in the yield-case -.- I already read the whole Scripting-overview, but I guess it was a tad too late / too much input for me to handle in one evening... ^^' ... Still doesn't quite answer my question, though, as this was just a case-example... :-/ edit: clarified my question

avatar image
1

Answer by jashan · Dec 11, 2009 at 10:41 AM

I think the issue you're running into is that there's a difference between the API (classes / methods) that Unity provides and the language itself. yield and function are language features which you usually won't find in an API documentation (well, some you might ;-) ).

With Unity, there's a couple of different things:

  • The Unity API (that's mostly what you find in the scripting reference)
  • The .NET/Mono API (a few parts of that are also documented in the scripting reference - but in general, you'd look at the original .NET(1) or Mono documentation for this)
  • The language specifications ... JavaScript is a tricky thing there because it's mostly "just JavaScript" but Unity has some of their own special features (yield might be one but I'm no expert on JavaScript); C# is more clearly specified, Unity currently uses C# 2.0 - you will find details about yield-statement in the C# specification

(1) note that this is the .NET 3.5 documentation - Unity only supports 2.0, Unity iPhone "more or less 1.1"

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 SisterKy · Dec 11, 2009 at 03:08 PM 0
Share

I see... co$$anonymous$$g from a non-program$$anonymous$$g background I really didn't make any difference there, as I had no idea classes/methods didn't belong to the language itself the same way "function" does... oO

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

1 Person is following this question.

avatar image

Related Questions

List of Frequently Asked Beginners Questions? 1 Answer

Starting Out in Game Development 5 Answers

Making my first game? 3 Answers

Where do i have to start to make a game? 5 Answers

what best unity version for learning from absolute zero for low end PC to teach student for third word (poor country) 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