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
0
Question by docbuchanan2 · Jan 15, 2015 at 01:13 AM · c#compilerlanguagefeatures

As of Unity 4.6, which C# language features still haven't been implemented?

There is an unsurprising amount of curiosity about this on the web, but a surprising lack of clear responses. So I thought I'd make a question thread for people to find answers about specific language feature implementations.

I have done quite a bit of research on this, and know the answers to some of the specific questions I put forward. But I'm extremely new to Unity and could be wrong, so will leave it to responders to post any links or info you find appropriate. Please try to consider this information as a resource for those just getting their feet wet before responding. I'll mirror a similar post on the forums. Thanks!

General Question:

As of Unity 4.6, which C# language features still haven't been implemented in the compiler Unity uses?

Specific queries:

Support for implicit types (C# var data type)?

Support for asynchronous programming (async/await)?

Support for Lambda Expressions?

Support for dynamic binding?

Support for Expression Trees?

Support for auto-properties?

Here is a preview of C# 6 features. Several of these improvements relate directly to our workflow as game developers. Has anyone found any OFFICIAL information on what Unity's plans for C# language features are in the future?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Eric5h5 · Jan 15, 2015 at 01:50 AM

Nothing has changed since somewhere around Unity 2. Unity uses Mono 2.6, which is approximately .NET 3.5. The easiest thing is just to write a line of code with the feature in question and see if it compiles.

As for the future, http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/

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 docbuchanan2 · Jan 15, 2015 at 02:02 AM 0
Share

You actually helped a lot with that link. In the article there is a direct link to Unity's $$anonymous$$ono implementation on GitHub. For people who know what to look for answers can be found there.

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

26 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 avatar image avatar image 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

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Compilation Order question when using js eval() 1 Answer

How to force warnings as errors? 5 Answers

In-Game scripting works in Editor (Try it!) - But Not Build 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