Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
11 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 /
avatar image
0
Question by codingChris · Jul 21, 2015 at 12:07 PM · handleslegallegal issuesdecompile

Can I use decompiled code from UnityEditor.dll in my Game

The reason I'm asking is because I need in-game transform handles. Inside the Editor I can use something like Handles.RotationHandle, but since they are in the Editor Assembly, they are unavailable in the standalone build.

I found this github repo which includes the decompiled source code for both UnityEngine and UnityEditor. According to Aras, it's legit to be up there. So my question is: Does it exist so that people can read through it (purely for educational reasons), or can I actually use it in my commercial product aswell?

PS: Regarding the original problem (having in-game transform tools), there are of course these gizmos, but they do not meet my needs (especially rotation). So if I'm not allowed to use the editor code, I'm going to implement my own solution, which is of course time consuming...

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
0
Best Answer

Answer by Bunny83 · Nov 26, 2015 at 02:00 PM

Well, if your really consider using something from those assemblies, you should really contact the Unity support about that. The UnityEditor assembly belongs to the editor application and not the Unity engine. It isn't ment to be shiped with a build in the first place. So make sure you get the premission before you release something that uses code from those assemblies.

Apart from that you probably need to copy quite a bit of various code fragments to get the handles working. Also don't forget if you get permissions to use code, that doesn't cover "content" like internal shaders and textures which might be used in the editor code.

It's probably easier and less painful to roll your own solution. However i have to admit the handles in the editor are working pretty well and it could be tough to replicate them.

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 codingChris · Jul 19, 2016 at 06:31 AM 0
Share

You are totally right. After wading through the code I abandoned the idea pretty quickly. It was indeed easier to build something less feature rich, which turned out to be alright.

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

23 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

Related Questions

Can I reuse editor extension assets for multiple projects/games? (Accelerator Pack) 1 Answer

,Can I use Standard Assets commercially? 1 Answer

Can the default public MasterServer be used in production? 1 Answer

Can i use Editor Extensions(Forked script or texture or DLL) from the Asset Store At runtime (Game) and sell it as a final product ? 0 Answers

What is a unity extension asset? 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