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 xikky · May 17, 2013 at 09:19 AM · texturessource codedesigner

How to change textures after game is built?

I would like to build a game which is able to change it textures after it is built and run (for windows platform would be enough). My point is to avoid handing over the unity project containing the source code to my designer. I want to hand over a build version of the game to the designer, but at the same time, I want him to be able to change in game textures at any time.

Is this possible? Can someone lead me to some information?

Comment
Add comment · Show 7
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 TonyLi · May 17, 2013 at 03:22 PM 1
Share

I see you already accepted an answer, but I wanted to add that you should consider handing over a project with compiled DLLs ins$$anonymous$$d of source code. Your designer will probably need to do more than add textures, such as creating materials, setting the resolution of the textures, etc.

avatar image xikky · May 17, 2013 at 03:37 PM 0
Share

Thanks for pointing that out TonyLi. I accepted the answer because that was exactly what I was asking for because the designer in this project will only take care of designing textures. However, if you have more info on how to hand over a project with compiled DLLs, I would really appreciate, as this might be helpful in another situation in the near future.

avatar image TonyLi · May 17, 2013 at 04:16 PM 1
Share

Here you go: http://docs.unity3d.com/Documentation/$$anonymous$$anual/UsingDLL.html

As an added bonus, projects will build faster because they don't have to recompile source code. So your designer will be able to iterate faster.

avatar image xikky · May 17, 2013 at 04:17 PM 0
Share

Thank you :)

avatar image Bunnybomb7670 · May 17, 2013 at 10:12 PM 0
Share

Also helpful to me :) I did not know that you can do DLL 's, ill have to look into this for my game projects too! thanks Tony :)

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by TonyLi · May 20, 2013 at 12:41 PM

You could hand over a project with compiled DLLs instead of source code. Your designer will probably need to do more than add textures, such as creating materials, setting the resolution of the textures, etc. To create DLLs: http://docs.unity3d.com/Documentation/Manual/UsingDLL.html

As an added bonus, projects will build faster because they don't have to recompile source code. So your designer will be able to iterate faster.

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 xikky · Jun 22, 2013 at 04:08 PM 0
Share

But is this possible for javascript?

Sorry for late comment. But I was busy with other things. Was reading the doc but it seems like it's only for C#

avatar image TonyLi · Jun 22, 2013 at 06:35 PM 0
Share

Sorry, not to my knowledge. $$anonymous$$onodevelop doesn't support building DLLs from UnityScript. If you have a lot of UnityScript, you could convert it to C# or maybe buy this Unity 3D Obfuscator tool: http://en.unity3d.netobf.com/ -- I've never used it, though.

avatar image
2

Answer by Bunnybomb7670 · May 17, 2013 at 10:20 AM

Loading textures from file will help you solve this issue, look at this post :

Post

which will guide you on how to load textures from file, however I suggest that you add a system that checks IF the file exists first because then you can have a fail-safe for when the texture file is deleted or missing that will either create a new file or maybe read from textures built with the game.

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 xikky · May 20, 2013 at 01:51 PM 0
Share

sorry for changing the answer but I think other users searching for the same issue should follow the other way of solving it.

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

15 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

Related Questions

How to change textures after game is built? 1 Answer

substance designer (any advantage) 1 Answer

How to create a dynamic texture below meshes? 0 Answers

Sometimes terrain textures turn black on android device 0 Answers

Why are my model's textures not importing? 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