Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 /
  • META /
avatar image
0
Question by Fritsl · Jul 21, 2016 at 12:13 PM · c#website

Are official Unity examples often filled with errors?

Is it just me, or is a large part of the Unity official documentation samples still broke in C# ? (please tell me there's a big button that I am missing ;)

I cannot get any of these examples to make any sense in C# (they might work Java, but that's not me, and I press to show C#)

  1. https://docs.unity3d.com/ScriptReference/EditorGUILayout.BeginScrollView.html

  2. http://docs.unity3d.com/ScriptReference/Selection-activeTransform.html

  3. https://docs.unity3d.com/ScriptReference/EditorGUI.TextField.html

etc..

  • And there are mostly still no comments in the C# examples that are working? Those appears to be very, very old Unity documentation issues? I tried various browsers etc, no luck.

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Dave-Carlile · Jul 21, 2016 at 12:15 PM

It looks like the C#/JavaScript button that's supposed to toggle between the two doesn't have any effect on those. Could be that they just don't have C# sample code for them since there are other places where those buttons work. It's not too difficult to convert between the two yourself though. That's kind of the nature of this sort of thing.

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 Owen-Reynolds · Jul 21, 2016 at 03:19 PM 0
Share

I feel like I remember the older (3+ years?) documentation was written only in unityscript -- that was the preferred language back then. They didn't even have a button, or C# examples.

That sounds nuts, now, but back in the day it was common for game engines to use a specially-written non-standard language.

avatar image Dave-Carlile Owen-Reynolds · Jul 21, 2016 at 04:16 PM 0
Share

Yeah, I would imagine they just haven't converted all of the examples yet.

avatar image
0

Answer by Fritsl · Jul 22, 2016 at 08:29 PM

https://docs.unity3d.com/ScriptReference/EditorGUI.DrawPreviewTexture.html

Is also not a working example .. is all I have to say to that.

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 Fritsl · Jul 22, 2016 at 09:48 PM 0
Share

https://docs.unity3d.com/$$anonymous$$anual/class-GUISkin.html

  • not working either!

avatar image Owen-Reynolds · Jul 22, 2016 at 11:58 PM 0
Share

Those are great examples of what I was writing about -- things that are clearly obsolete. Not just written in unityscript, but editor scripts in unityscript. Looks like they were added back when those were an undocumented feature (I assume -- the examples are way too long for where they are.)

Back in the day, Unity's target audience was experienced game developers, looking to switch from some other engine. As it became more well-known, I feel like they made a half-hearted effort to guide beginners, so you get some funny mixes of examples.

avatar image
0

Answer by Firedan1176 · Jul 30, 2016 at 02:30 AM

Unity rarely update the documentation errors. They've been there for a long time, and there's never optimal examples, and rarely do you see JavaScript AND C# examples. You can submit requests for individual pages by going to the Editor > Help > Report a Bug... And selecting the first one as Services. However, keep in mind that the Unity staff is always busy and if they ever review your request, give them at least a week or two.

In my personal opinion, the documentation should be opened for select few community members to edit, not just Unity staff, just for the sole purpose of those examples. The only problem is trust issues...

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 SaraCecilia · Aug 11, 2016 at 01:11 PM 0
Share

Yes, sending them in through the bug reporter is the way we handle those.

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

7 People are following this question.

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

Related Questions

Why is Unity Answers even worse than before? 5 Answers

answers.unity3d.com/search is HTTP 500 1 Answer

unity scripting reference is in mixed english and spanish 0 Answers

follow buttons resulting in raw RSS markup 1 Answer

Can't log into unity community 2 Answers


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