New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

unity-link

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unity-link

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

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 12 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts