This page looks best with JavaScript enabled

Math in the Unity Inspector - Quick Tip

 ·   ·  ☕ 1 min read

    Unity has made it a bit easier to compute some values in their editor windows by allowing you to enter math formula’s into the inspector. This means you may enter formula’s when you need to input float’s, int’s or other number values and Unity will automatically compute the result for you.

    As an example typing 8^2 will compute 8 squared and set the value to 64.

    Come Chat with us in the World of Zero Discord server: https://discord.gg/hU5Kq2u


    Sam Wronski
    WRITTEN BY
    Sam Wronski
    Maker of things, currently helping build cloud things @ Google. World of Zero is a personal project disconnected from my professional work. Lets make something awesome together!