MyBox is a set of tools, features and extensions for Unity.
It is MyBox. Now it's yours too ๐
You may install MyBox via Unity Package Manager:
Open Packages/manifest.json file in your project folder and put this line along with other dependencies
"com.mybox": "https://github.com/Deadcows/MyBox.git"
Note how the comma lies at the end of every line in dependencies, except of the last line!
To update, use Tools->MyBox->Update window
MyBox will notify on new versions ๐ค
โIf you got problems with update process simply remove "lock" section at the end of your Packages/manifest.json file.
This will force Unity to redownload all git packages:
...or simply put MyBox folder downloaded from git somewhere under your Assets folder ๐คจ
Tons of images below ๐
AutoProperty โ Assign fields automatically
ButtonMethod โ Display button in inspector
ConditionalField โ Conditionally display property in inspector, based on some other property value
DefinedValues โ Display Dropdown with predefined values
DisplayInspector โ Display one inspector inside of another
Tag, Layer, SpriteLayer โ Dropdown with Tags, Layers or SpriteLayers
MinMaxRange, RangedFloat and RangedInt โ Ranged sliders
MustBeAssigned โ Automatically checks if field is assigned (not null / not empty / not default value) on Playmode
PositiveValueOnly โ Prohibit values below zero
ReadOnly โ Draw property with disabled GUI
RequireTag and RequireLayer โ Automatically set Tag and Layer
SearchableEnum โ Nice UI for enums with lots of elements
Separator โ Draw separator with or without title
AssetPressetPreprocessor โ Conditionally apply Presets to your assets on import
TimeTest โ Measure performance with simple api
IPrepare โ Easy way to replace caching, calculations and asserts from playmode
Features โ Cleanup Empty Directories, AutoSave feature, Hotkeys
Guid Component โ Generate unique and persistent IDs
SceneReference Component โ Reference scene with Scene asset in inspector
ActivateOnStart Component โ Set state of specific GO on game start
AnimationStateReference โ Specify AnimationClip on object with Animator
AssetPath and AssetFolderPath โ Inspector button to browse for folder or asset under Assets folder
Billboard Component โ Force object to always face camera
ColliderGizmo Component โ Highlight colliders and triggers in SceneView
FPSCounter Component โ Display FPS counter on Playmode
MyDictionary โ Serializable Dictionary
MinMaxInt and MinMaxFloat โ Asserts that Max => Min with handy inspector drawer
Optional and OptionalMinMax โ Optionally assignable values
//TODO: Extensions, Unfinished tools