Skip to content
/ MyBox Public
forked from Deadcows/MyBox

MyBox is a set of attributes, tools and extensions for Unity

License

Notifications You must be signed in to change notification settings

wilsnat/MyBox

 
 

Repository files navigation

MyBox

MyBox is a set of tools, features and extensions for Unity.
It is MyBox. Now it's yours too 🙌


You may install MyBox by simply putting MyBox folder somewhere under your Assets folder.
Or 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 🤗


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

About

MyBox is a set of attributes, tools and extensions for Unity

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.8%
  • Smalltalk 1.2%