unity-link

1.1.0 • Public • Published

unity-link

What is this?

A utility for Unity developers to symlink scripts into their Assets folders.

Why would I need it?

It's useful for library development. If you are building a framework, and need to share it between projects, you can put the framework in its own project, and use unity-link to symlink the framework project into your other projects.

Similarly, if you're using an open-source framework and you want to symlink the project in so you can maintain updates, unity-link works the same way.

How do I use it?

Get Node and npm

unity-link is an npm module, so you'll need to install Node and npm. I'll let you figure that part out. It's not too hard.

Command-line usage

Install globally: npm install -g unity-link

Run the cli: unity-link [sharedDir] [targetDir]

[sharedDir] is the shared/framework code e.g.: ~/dev/shared-framework [targetDir] is the target directory in your Unity project e.g.: ~/dev/my-game/Assets/shared-framework

Node API

Install locally: npm install --save-dev unity-link

Use link this:

var unityLink = require("unity-link");
 
unityLink.allFiles("~/path/to/shared-framework", "./Assets/shared-framework");

Both paths can be absolute or relative paths.

Readme

Keywords

none

Package Sidebar

Install

npm i unity-link

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • geekytime