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

Teiya/MyBox

This branch is 388 commits behind Deadcows/MyBox:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

be8a1f6 Β· Dec 28, 2020
Feb 26, 2020
Jul 14, 2020
Jul 29, 2020
Aug 4, 2020
Aug 4, 2020
Aug 26, 2018
Jul 15, 2020
Aug 15, 2019
Aug 26, 2018
Aug 24, 2018
Aug 26, 2018
Aug 11, 2019
Jan 24, 2019
Dec 28, 2020
Aug 26, 2018
Jul 23, 2020
Feb 21, 2019
Aug 26, 2018
Feb 14, 2019
Dec 27, 2020
Aug 11, 2019

Repository files navigation

MyBox

openupm License: MIT

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

Installation:

Install via OpenUPM

The package is available on the openupm registry. You may install it via 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 πŸ‘‡

AutoProperty β€” Assign fields automatically
ButtonMethod β€” Display button in inspector
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
InitializeField β€” Field that is not editable in playmode
Tag, Layer, SpriteLayer β€” Dropdown with Tags, Layers or SpriteLayers
MinMaxRange, RangedFloat and RangedInt β€” Ranged sliders
MustBeAssigned β€” Automatically checks if field is assigned
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
UnityEvent Inspector β€” Allows you to fold and reorder event subscribers


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
MyCursor β€” Nice way to set cursor with hotspot
MyDictionary β€” Serializable Dictionary
MinMaxInt and MinMaxFloat β€” Asserts that Max => Min with handy inspector drawer
Optional and OptionalMinMax β€” Optionally assignable values
Reorderable Collections β€” Reorder your collections in inspector


//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.9%
  • Smalltalk 1.1%