MyBox
MyBox is a set of tools, features and extensions for Unity.
It is MyBox. Now it's yours too π
Installation
Tons of images in docs below π
Attributes
AutoProperty β Assign fields automatically
ButtonMethod β Display button in inspector
CharactersRange β Filter string field by the set of characters
ConditionalField β Conditionally display property in inspector, based on some other property value
ConstantsSelection β Popup of const, readonly or static fields and properties
DefinedValues β Display Dropdown with predefined values
DisplayInspector β Display one inspector inside of another
Foldout β Group your fields in inspector
InitializationField β Field that is not editable in playmode
Tag, Layer, SpriteLayer β Dropdown with Tags, Layers or SpriteLayers
MinMaxRange, RangedFloat and RangedInt β Ranged sliders
MaxValue, MinValue and PositiveValueOnly β Validation for numbers and vectors
MustBeAssigned β Automatically checks if field is assigned
OverrideLabel β Change visible in Inspector field name
ReadOnly β Draw property with disabled GUI
RegexString β Filter string field by the Regular Expression
RequireTag and RequireLayer β Automatically set Tag and Layer
Scene β Friendly way to keep Scene name as a string. See also SceneReference type
SearchableEnum β Nice UI for enums with lots of elements
Separator β Draw separator with or without title
Tools and Features
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
UnityEvent Inspector β Allows you to fold and reorder event subscribers
Types
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
ColliderToMesh Component β Generate Mesh from PolygonCollider2D data on the fly
Commentary Component β Add text commentary to your GameObjects
CoroutineGroup β Wraps up bunch of coroutines to know when they all is completed
FPSCounter Component β Display FPS counter on Playmode
Guid Component β Generate unique and persistent IDs
MinMaxInt and MinMaxFloat β Asserts that Max => Min with handy inspector drawer
MyCursor β Nice way to set cursor with hotspot
MyDictionary β Serializable Dictionary
Optional and OptionalMinMax β Optionally assignable values
Reorderable Collections β Reorder your collections in inspector
SceneReference Component β Reference scene with Scene asset in inspector
Singleton β Cache and access instance of MonoBehaviour
TransformData β Type to store and apply position, rotation and scale
UIFollow Component β RectTransform will follow specified Transform
UIImageBasedButton Component β Used to create toggle button behaviour
UIRelativePosition Component β Position one RectTransform relatively to another, regardless of hierarchy
UISizeBy Component β Size one RectTransform relatively to another
//TODO: Extensions, Unfinished tools