Javascript files between projects

Each time I make a new project I have to type all my javascript files in again into a myscript folder I make in the Unity project area…

Is there a way to keep a single javascript folder that I can add files to that i want to reuse between projects so that I don’t have to recreate a new one everytime?

Surprisingly and annoyingly the answer is there is no way to do this

Unity projects seem to be self contained basically in the Assets/ folder.

BTW, I’m not sure if you were just joking … you do not need to LITERALLY TYPE THEM IN

  1. create the new project
  2. quit unity
  3. COPY the files in question from the old projects (somewhere in assets) to the new project (somewhere in assets)

when you open unity again, it will “know” they are there and everything will be copasetic.

Hope it helps!

What’s the problem with just copying the folder where you keep your scripts from project to project? (Or making a package from it, as @Kryptos suggested)

Also, we’re trying to use as few projects as possible, for the simple fact that assets can be reused, and don’t waste any file system resources (especially when using the Asset Server). It also eliminiates the necessity trying to sync your scripts between all projects and keep them up-to-date, in case you work on several projects simultaneously.

Note when copying assets from project A to B, you should always include the .meta files (or use a Package), otherwise you will lose your import settings and scene references.

There is no real disadvantage in keeping only one project, remember that when building an App, only the assets that are actually used will be included (exception: “Resources” folder). Just keep separate sub-folders for each App that you would normally put in different Unity projects (and the assets only used by this single App), and create one folder where you put all assets that are shared between these Apps.