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 xikky · Jun 23, 2013 at 07:28 AM · javascriptdllconvert

Can I create a DLL for UnityScript to protect code?

I want to convert my unity scripts into a DLL to protect the code when sharing my unity project. This is something that I want to do: Using Mono DLLs in a Unity Project, but this only seems to work for C#. My code is in UnityScript. Can I still convert scripts into a DLL?

Comment
Add comment · Show 2
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 GerryM · Jun 23, 2013 at 10:49 AM 0
Share

Just FYI, a DLL from a managed script (C#, JS, boo) does not provide any protection for your source. It's a matter of seconds to extract your scripts back from the DLL.

While obfuscation or native code does provide some protection, usually it isn't worth the time or money you have to put into it.

avatar image xikky · Jun 23, 2013 at 11:08 AM 0
Share

Thanks Gerry$$anonymous$$

Would it be better to use WWW to change textures on the fly while game is running (for designer to be able to change textures) or use obfuscation for this purpose?

1 Reply

· Add your reply
  • Sort: 
avatar image
-1

Answer by Mohamad Farid · Jun 23, 2013 at 10:04 AM

Actually,you can by exporting the game into runtime and it will convert all of your game scripts to Assembly-Csharp.dll and java are also envolve if you have. :D

Hope this helps!

Comment
Add comment · Show 5 · 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 xikky · Jun 23, 2013 at 10:07 AM 0
Share

hey thanks for your reply. Is it possible to share some resources about this matter, or some better explanation please? I am very new to this situation.

avatar image Mohamad Farid · Jun 23, 2013 at 10:08 AM 0
Share

Im glad its fixed and make sure you mark it as correct :D

avatar image xikky · Jun 23, 2013 at 10:12 AM 1
Share

nope nothing is fixed yet ^^ have no idea how to do it :/

avatar image Mohamad Farid · Jun 23, 2013 at 11:13 AM 0
Share

I believe that your code is safe when you export it to .exe :) and it will convert the script to .dll

avatar image Mohamad Farid · Jun 23, 2013 at 11:19 AM 0
Share

By the way if you dont know how to export it heres the solution : http://docs.unity3d.com/Documentation/$$anonymous$$anual/PublishingBuilds.html and all scripts such as c#,java,boo and unity script can also convert

Hope this really helps.

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

18 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

Related Questions

Convert To UnityScript 1 Answer

Help convertings c# to js line --using Callback=System.Action 1 Answer

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Help me please to convert from UnityScript to C# 1 Answer

C# to UnityScript conversion help. 0 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