Giter Club home page Giter Club logo

unity-sweeper's Introduction

Installation

Copy the folder "UnitySweeper/Editor" of this project into the "plugins" folder, under the assets folder of your Unity project.

The path should look like this: "Assets/Plugins/UnitySweeper/Editor".

Unity Sweeper

This plugin helps you sweep up your project - it detects unused files, removes them from the project, and creates a backup of the removed assets exported as a unity package.

Using the tool is really simple. You can initiate deleting unused files through the Window menu.

Window menu choices

Options are:

  • Only resource - Will sweep everything except scripts
  • Unused by Editor - Will sweep everything used by game or editor, including scripts
  • Unused by Game - Will sweep everything used by game, including scripts
  • Clear cache - Deletes cache files

If you choose any of first three options, Unity Sweeper will run a search through your project, after which it will show a screen like this:

Sweep window

...from where you can review the unused assets found, uncheck assets which you want to keep in your project, and select the assets you want to exclude from your project. Unity Sweeper will also remove empty directories.

Clicking the Exclude from Project button will create a Unity Package with current the datetime and export the package to the location of PROJECT_ROOT/BackupUnusedAssets.

Final result

Enjoy!


The first (but since abandoned) version of this tool was built by tsubaki.

unity-sweeper's People

Contributors

kbouw avatar krso92 avatar omarwkh avatar probitaille avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.