Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Dec 09, 2015 at 05:57 PM by ralvThePeon for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by ralvThePeon · Dec 09, 2015 at 03:23 PM · c#uidropdown

new Dropdown implementation incomplete?

According to the Documentation the new Dropdown element has a bunch of public methods, such as

 public void ClearOptions()
 public void AddOptions() // 3 overloads
 ...

Alas, none of them seems to be implemented. When trying to call any of them, the compiler always fails with

Error CS1061 'Dropdown' does not contain a definition for 'ClearOptions' ...

(or 'AddOptions' etc, resp). Inspecting the definition (created from metadata) yields no results. Hence the question: is the Dropdown properly implemented? Or will I have to manipulate the options member instead? Is it maybe VS that causes the problem (though I don't have other similar problems)?

Please tell me that I am only missing something really obvious. ;)

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 Dave-Carlile · Dec 09, 2015 at 03:24 PM 0
Share

What does your code look like? On what component are you trying to call ClearOptions?

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by Dave-Carlile · Dec 09, 2015 at 03:26 PM

What version of Unity are you using. I believe these methods were just added in the new 5.3 release.

Add convenience methods to Dropdown for adding or clearing the options.

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 ralvThePeon · Dec 09, 2015 at 05:56 PM 0
Share

Yeah. Thanks for for pointing that out. I have already downloaded 5.3, but am still running 5.2.3 and have missed that line in the patchnotes. Glad to hear that I'm only an upgrade away...

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Get Dropdown Index value based on text value using Where c# filter 1 Answer

How to use the new Dropdown Menu? 2 Answers

Remove specific screen resolutions 0 Answers

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 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