-
-
Notifications
You must be signed in to change notification settings - Fork 245
Installation
Easiest way is to install MyBox as a package.
- Open UPM: "Window/Package Manager"
- Click "+" button at the top left
- Select "Add package from git URL" and paste following URL:
https://github.com/Deadcows/MyBox.git
To update MyBox use "Tools/MyBox/MyBox Window", "Update UPM version" button, or simply follow the steps above!
The package is available on the openupm registry. You may install it via openupm-cli.
openupm add com.domybest.mybox
To see method descriptions you need to enable .csproj generation in Unity preferences:
In Unity Editor, open Edit > Preferences > External Tools and enable "Generate .csproj files for" Registry packages and Git packages, then click "Regenerate project files".
The next time you open your IDE, Intellisense will show you comments for MyBox's methods.
...or simply put MyBox folder downloaded from git somewhere under your Assets folder 🤨
In MyBox Window you can find some settings, like Cleanup Empty Directories or Autosave on Playmode.
Most options are toggled off by default, to eliminate confusion and possible performance issues.
The window is located in Tools/MyBox/MyBoxWindow
.
For compatibility with other libraries that rely on UnityEngine.Object custom drawer, disable the "Inspector override" option.
It is required for [ButtonMethod] and [Foldout] attributes to work though.