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
4
Question by DaveA · Aug 09, 2010 at 09:21 PM · editorprojectglobal

Any way to make Editor scripts available to all projects?

I understand I can create an Editor folder in my Assets folder and put editor scripts there, they will be available to my project.

Is there any way (a global folder or setting) to make scripts available to ALL my projects? Meaning, the handy stuff like 'copy transform', I use in every project, I want to have one copy of that, and any project I open will have that available.

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
2

Answer by jashan · Aug 09, 2010 at 10:10 PM

Probably the most convenient way to achieve this is using packages. Simply create a package of your editor scripts, and put it to a location that's easy for you to look up. Then, when you create a new project, simply import your editor scripts package and you should be all fine. This is under Assets / Import package, Export package ... docs are here, in How do I reuse assets between projects?

If you have to make changes, you can also update those packages (it's a manual step, though, which you'd have to do for each project).

If you're on Mac OS X, you might try symbolic links. I'm not sure how well those work with Unity, though, but it would be worth a try (there's also "hard links" which might work better ... actually, I think the OS should treat those exactly as if the file/folder was actually there).

EDIT: Actually this should also work under Windows ... see for example this thread: how to create a symbolic link under Win2K, WinXP, and above?

While setting up a link is one extra step in setting up the project you have the nice benefit that you don't have to worry about updating many projects whenever you have a change.

Comment
Add comment · Show 7 · 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 DaveA · Aug 10, 2010 at 01:42 AM 0
Share

Yeah it's that 'manual update' I'm trying to avoid. I have 6 or 7 projects going, and making a change to a handy Editor script means needing to deploy it in all those places. I just got my first 3.0 beta today, hoping they have a 'common editor' folder of some sort....

avatar image jashan · Aug 10, 2010 at 07:39 AM 0
Share

Not in Unity 3, sorry ... would the approach with symbolic links be a possibility for you? That would solve the issue with updating packages. I just found out that this is actually also possible under Windows and edited my answer to include a link that should get you started in case you're on a Windows based dev system.

avatar image DaveA · Aug 10, 2010 at 05:45 PM 0
Share

I'm on both Windows and $$anonymous$$ac. This sounds promising, thank you.

avatar image TexeL · Dec 19, 2010 at 09:39 PM 0
Share

http://dirlinker.codeplex.com/ check this tool for creating symbolic link in windows !!!

Waiting For Better Solution !!!

avatar image fireDude67 · Jan 06, 2011 at 03:40 AM 0
Share

symlinks on windows are 'Shortcuts'

Show more comments

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

1 Person is following this question.

avatar image

Related Questions

Drag and Drop Inside Editor 0 Answers

Saving an object from script to project? 0 Answers

Dynamically update the editor? 3 Answers

Global Mouse Position 0 Answers

Ask for Script Compilation from EditorWindow Button 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