Unity Tutorial: Learn how to use SVG in Unity

Unity Tutorial - Working with SVG files Featured

Support for SVG in Unity is quite limited, and the documentation is not particularly useful. In this tutorial, I’ll guide you thru the process of importing SVG in Unity projects, both from the Unity Editor and dynamically via code. Importing the SVG package The first thing we need to do to be able to work … Read more

Unity Tutorial: Vector2RangeAttribute

Vector2RangeAttribute Featured

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