Home

Awesome

MyBox – set of tools, features and extensions for Unity

openupm License: MIT <a href="https://ko-fi.com/mybox" target="_blank"><img src="https://storage.ko-fi.com/cdn/logomarkLogo.png" height=20 /><sup><sub> Support my work ❤️</sub></sup></a>

It is MyBox of helpful things. Now it's yours too :raised_hands:<br />

Installation

Tons of images in docs below :point_down:

Attributes

AutoProperty — Assign fields automatically<br /> ButtonMethod — Display button in inspector<br /> CharactersRange — Filter string field by the set of characters<br/> ConditionalField — Conditionally display property in inspector, based on some other property value<br /> ConstantsSelection — Popup of const, readonly or static fields and properties<br /> DefinedValues — Display Dropdown with predefined values<br /> DisplayInspector — Display one inspector inside of another<br /> Foldout — Group your fields in inspector<br /> InitializationField — Field that is not editable in playmode<br /> Tag, Layer, SpriteLayer — Dropdown with Tags, Layers or SpriteLayers<br /> MinMaxRange, RangedFloat and RangedInt — Ranged sliders<br /> MaxValue, MinValue and PositiveValueOnly — Validation for numbers and vectors<br /> MustBeAssigned — Automatically checks if field is assigned<br /> OverrideLabel — Change visible in Inspector field name<br /> ReadOnly — Draw property with disabled GUI<br /> RegexString — Filter string field by the Regular Expression<br /> RequireTag and RequireLayer — Automatically set Tag and Layer<br /> Scene — Friendly way to keep Scene name as a string. See also SceneReference type<br /> SearchableEnum — Nice UI for enums with lots of elements<br /> Separator — Draw separator with or without title<br />


Tools and Features

AssetPressetPreprocessor — Conditionally apply Presets to your assets on import<br /> TimeTest — Measure performance with simple api<br /> IPrepare — Easy way to replace caching, calculations and asserts from playmode<br /> Features — Cleanup Empty Directories, AutoSave feature, Hotkeys<br /> UnityEvent Inspector — Allows you to fold and reorder event subscribers<br />


Types

ActivateOnStart Component — Set state of specific GO on game start<br /> AnimationStateReference — Specify AnimationClip on object with Animator<br /> AssetPath and AssetFolderPath — Inspector button to browse for folder or asset under Assets folder<br /> Billboard Component — Force object to always face camera<br /> ColliderGizmo Component — Highlight colliders and triggers in SceneView<br /> ColliderToMesh Component — Generate Mesh from PolygonCollider2D data on the fly<br /> Commentary Component — Add text commentary to your GameObjects<br /> CoroutineGroup — Wraps up bunch of coroutines to know when they all is completed<br /> FPSCounter Component — Display FPS counter on Playmode<br /> Guid Component — Generate unique and persistent IDs<br /> MinMaxInt and MinMaxFloat — Asserts that Max => Min with handy inspector drawer<br /> MyCursor — Nice way to set cursor with hotspot<br /> MyDictionary — Serializable Dictionary<br /> Optional and OptionalMinMax — Optionally assignable values<br /> Reorderable Collections — Reorder your collections in inspector<br /> SceneReference Component — Reference scene with Scene asset in inspector<br /> Singleton — Cache and access instance of MonoBehaviour<br /> TransformData — Type to store and apply position, rotation and scale <br /> UIFollow Component — RectTransform will follow specified Transform<br /> UIImageBasedButton Component — Used to create toggle button behaviour<br /> UIRelativePosition Component — Position one RectTransform relatively to another, regardless of hierarchy<br /> UISizeBy Component — Size one RectTransform relatively to another<br />


//TODO: Extensions, Unfinished tools