Skip to content

Unity Kit JS: Wraps access to the Unity Editor for integration in build scripts and continuous integration

Notifications You must be signed in to change notification settings

spicypixel/unity-kit-js

Repository files navigation

Spicy Pixel Unity Kit JS

This kit wraps access to the Unity Editor in a JavaScript library so it can be integrated in build scripts for continuous integration.

Unity Editor

export default class UnityEditor {
    constructor();
    static editorPath: string;
    static enginePath: string;
    static batchModeArgs: string[];
}

Unity Project

export default class UnityProject {
    constructor(projectPath: string);
    projectPath: string;
    assetsPath: string;
    createAsync();
    packageAsync(sourcePaths: string[], outputPath: string);
}

Unity Module Manager

export default class UnityModuleManager {
  constructor(unityProject: UnityProject, moduleVendor: string, moduleName: string);
  get modulePath(): string;
  async updateAsync(nodeScope: string, nodeModuleName: string,
    assemblyNames: string[], editorAssemblyNames?: string[]);
  async installAsync();
  async packageAsync();
}

About

Unity Kit JS: Wraps access to the Unity Editor for integration in build scripts and continuous integration

Resources

Stars

Watchers

Forks

Packages

No packages published