Search Unity

MyBox — set of attributes, tools and extensions for Unity

Discussion in 'Assets and Asset Store' started by Deadcow_, Sep 25, 2019.

  1. Deadcow_

    Deadcow_

    Joined:
    Mar 13, 2014
    Posts:
    135

    MyBox is a huge collection of useful stuff made by me and with a few peaces from other people over the years.

    Wiki on Attributes, Tools and Features, Types. Extensions docs is lacking for now :oops:

    Some of my favorite stuff:


    ConditionalFieldAttribute — display one field based on some other fields



    DisplayInspectorAttribute — one inspector inside of another


    MustBeAssignedAttribute — assert values automatically


    SeparatorAttribute :)



    AssetPressetPreprocessor
    Apply asset presets on asset import, based on path or name of the asset



    Auto save on playmode



    Optional and OptionalMinMax types



    And also tons of really helpful extension methods, like
    myVector.SetY(0).ClampX(-5, 5);
    myImage.SetAlpha(0);
    waypoints.GetRandom();

    and many more
     
    Last edited: May 21, 2020
    RGI121 likes this.
  2. Deadcow_

    Deadcow_

    Joined:
    Mar 13, 2014
    Posts:
    135
    300 stars on Github! Thanks you guys :rolleyes: