Unity Tutorial: Vector2RangeAttribute
In my previous Unity tutorial, we created a parallax / holographic card. One of the settings of the ParallaxPanelScript was a Vector2 property, that controls the maximum rotation of the card, which we’d like to limit to a [0, 50] range for each axis. However, Unity’s regular RangeAttribute does not support Vector2 types. In this … Read more