simonoliver / UnityFigmaBridgeExample

Example Project for Unity Figma Bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity Figma Bridge Example

Unity Figma Bridge Example

WebGL Demo Here - created with a 1-Click Import from this Figma file.

This is a simple example project for Unity Figma Bridge, a package that let's you easily bring Figma Assets into your Unity project. See the original repository for more details on how that works.

The project is an empty project with a single Figma import applied, to show what is generated. There are a couple of additional files to show other features:

If you want to create your own version of the Figma document to test importing, you can import the Figma Unity Bridge Example.fig file from the FigmaSource folder into Figma.

Attached behaviours

You can find a few example behaviours in the Scripts folder that show how behaviours are automatically attached to Figma Nodes, and how button presses are bound:

TypeWriterText

This is automatically added to the TypewriterText object in the SpeechBubble component, to animate the contained text

AnimatedShape

This is automatically added to each AnimatedShape object in the Shapes Screen, to animate their size and gradient

CodeScreen

This is automatically added to the CodeScreen screen, and shows how you can map MonoBehaviour fields and bind button presses

About

Example Project for Unity Figma Bridge

License:MIT License


Languages

Language:ShaderLab 79.6%Language:HLSL 13.8%Language:HTML 3.4%Language:C# 3.2%