Skip to content

This is a quick repo to host a minimal Unity3D.VectorGraphics example showing how to generate a simple circle.

Notifications You must be signed in to change notification settings

GeorgesOatesLarsen/UnityVectorGraphicsExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity.VectorGraphics (programmatic) example

This is a quick, bare-bones example of how to set up a Unity.VectorGraphics scene with a circle in it, and how to render that to a sprite.

NOTE: You MAY have to go to Window > Package Manager and enable the Vector Graphics preview package. Since it is a preview package, you must have preview packages enabled. (Advanced > Show Preview Packages)

Tested in Unity 2019.2.14f1

Thanks to:

https://github.com/github/gitignore/blob/master/Unity.gitignore

https://docs.unity3d.com/Packages/com.unity.vectorgraphics@1.0/api/Unity.VectorGraphics.html

https://github.com/Unity-Technologies/vector-graphics-samples/blob/master/Assets/RuntimeDemo/ShapeClipper.cs

GLHF

About

This is a quick repo to host a minimal Unity3D.VectorGraphics example showing how to generate a simple circle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages