# MyBox
**Repository Path**: teiya_admin/MyBox
## Basic Information
- **Project Name**: MyBox
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-02-28
- **Last Updated**: 2021-02-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# MyBox
[](https://openupm.com/packages/com.domybest.mybox/)
[](https://github.com/Deadcows/MyBox/blob/master/LICENSE.md)
MyBox is a set of tools, features and extensions for Unity.
It is MyBox. Now it's yours too :raised_hands:
## Installation:
### Install via OpenUPM
The package is available on the [openupm registry](https://openupm.com). You may install it via [openupm-cli](https://github.com/openupm/openupm-cli).
```
openupm add com.domybest.mybox
```
### Install via Git URL
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.domybest.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->MyBox 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 :point_down:
## [Attributes](https://github.com/Deadcows/MyBox/wiki/Attributes)
**[AutoProperty](https://github.com/Deadcows/MyBox/wiki/Attributes#autoproperty)** โ Assign fields automatically
**[ButtonMethod](https://github.com/Deadcows/MyBox/wiki/Attributes#buttonmethod)** โ Display button in inspector
**[ConditionalField](https://github.com/Deadcows/MyBox/wiki/Attributes#conditionalfield)** โ Conditionally display property in inspector, based on some other property value
**[ConstantsSelection](https://github.com/Deadcows/MyBox/wiki/Attributes#constantsselection)** โ Popup of const, readonly or static fields and properties
**[DefinedValues](https://github.com/Deadcows/MyBox/wiki/Attributes#definedvalues)** โ Display Dropdown with predefined values
**[DisplayInspector](https://github.com/Deadcows/MyBox/wiki/Attributes#displayinspector)** โ Display one inspector inside of another
**[Foldout](https://github.com/Deadcows/MyBox/wiki/Attributes#foldout)** โ Group your fields in inspector
**[InitializeField](https://github.com/Deadcows/MyBox/wiki/Attributes#initializefield)** โ Field that is not editable in playmode
**[Tag, Layer, SpriteLayer](https://github.com/Deadcows/MyBox/wiki/Attributes#tag-layer-spritelayer)** โ Dropdown with Tags, Layers or SpriteLayers
**[MinMaxRange, RangedFloat and RangedInt](https://github.com/Deadcows/MyBox/wiki/Attributes#minmaxrange-rangedfloat-and-rangedint)** โ Ranged sliders
**[MustBeAssigned](https://github.com/Deadcows/MyBox/wiki/Attributes#mustbeassigned)** โ Automatically checks if field is assigned
**[PositiveValueOnly](https://github.com/Deadcows/MyBox/wiki/Attributes#positivevalueonly)** โ Prohibit values below zero
**[ReadOnly](https://github.com/Deadcows/MyBox/wiki/Attributes#readonly)** โ Draw property with disabled GUI
**[RequireTag and RequireLayer](https://github.com/Deadcows/MyBox/wiki/Attributes#requiretag-and-requirelayer)** โ Automatically set Tag and Layer
**[SearchableEnum](https://github.com/Deadcows/MyBox/wiki/Attributes#searchableenum)** โ Nice UI for enums with lots of elements
**[Separator](https://github.com/Deadcows/MyBox/wiki/Attributes#separator)** โ Draw separator with or without title
--------
## [Tools and Features](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features)
**[AssetPressetPreprocessor](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features#assetpressetpreprocessor)** โ Conditionally apply Presets to your assets on import
**[TimeTest](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features#timetest)** โ Measure performance with simple api
**[IPrepare](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features#iprepare)** โ Easy way to replace caching, calculations and asserts from playmode
**[Features](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features#cleanup-empty-directories-and-autosave-features-and-some-hotkeys)** โ Cleanup Empty Directories, AutoSave feature, Hotkeys
**[UnityEvent Inspector](https://github.com/Deadcows/MyBox/wiki/Tools-and-Features#reworked-unityevent-inspector)** โ Allows you to fold and reorder event subscribers
--------
## [Types](https://github.com/Deadcows/MyBox/wiki/Types)
**[Guid Component](https://github.com/Deadcows/MyBox/wiki/Types#guidcomponent)** โ Generate unique and persistent IDs
**[SceneReference Component](https://github.com/Deadcows/MyBox/wiki/Types#scenereference)** โ Reference scene with Scene asset in inspector
**[ActivateOnStart Component](https://github.com/Deadcows/MyBox/wiki/Types#activestateonstart-component)** โ Set state of specific GO on game start
**[AnimationStateReference](https://github.com/Deadcows/MyBox/wiki/Types#animationstatereference)** โ Specify AnimationClip on object with Animator
**[AssetPath and AssetFolderPath](https://github.com/Deadcows/MyBox/wiki/Types#assetpath-and-assetfolderpath)** โ Inspector button to browse for folder or asset under Assets folder
**[Billboard Component](https://github.com/Deadcows/MyBox/wiki/Types#billboard-component)** โ Force object to always face camera
**[ColliderGizmo Component](https://github.com/Deadcows/MyBox/wiki/Types#collidergizmo-component)** โ Highlight colliders and triggers in SceneView
**[FPSCounter Component](https://github.com/Deadcows/MyBox/wiki/Types#fpscounter)** โ Display FPS counter on Playmode
**[MyCursor](https://github.com/Deadcows/MyBox/wiki/Types#mycursor)** โ Nice way to set cursor with hotspot
**[MyDictionary](https://github.com/Deadcows/MyBox/wiki/Types#mydictionary)** โ Serializable Dictionary
**[MinMaxInt and MinMaxFloat](https://github.com/Deadcows/MyBox/wiki/Types#minmaxint-and-minmaxfloat)** โ Asserts that Max => Min with handy inspector drawer
**[Optional and OptionalMinMax](https://github.com/Deadcows/MyBox/wiki/Types#optional-and-optionalminmax)** โ Optionally assignable values
**[Reorderable Collections](https://github.com/Deadcows/MyBox/wiki/Types#reorderable-collections)** โ Reorder your collections in inspector
--------
//TODO: Extensions, Unfinished tools