Skip to content

Commit

Permalink
Merge pull request #5 from Volorf/1.2.0
Browse files Browse the repository at this point in the history
1.2.0 Fixed 404 error
  • Loading branch information
Volorf authored Jul 4, 2024
2 parents c3e0c5a + f95ee80 commit 98c222e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Create a UI Image in Unity from Figma Designs with just a few clicks!

<img src="http://frolovoleg.ru/figma-ui-image/how_to_install.gif" width="800">

Or you can import it as [`.uniptypackage`](https://www.dropbox.com/scl/fi/nf5gvrl8qxu46mtumsjx2/Figma-UI-Image.unitypackage?rlkey=c7kzpm8vtcbhlvbxdi1eqorbh&dl=0) via `Assets/Import package/Custom package`.

## How to get an image from Figma
To do that you need a few things:
1. `Figma Access Token`;
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/FigmaUIImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class FigmaUIImage : MonoBehaviour, IFigmaImageUpdatable
[SerializeField] float imageScale = 2f;
[SerializeField] FigmaUIData figmaUIData;

const string MainFigmaLinkPart = "https://www.figma.com/file/";
const string MainFigmaLinkPart = "https://www.figma.com/design/";
const string BaseFigmaImageUrl = "https://api.figma.com/v1/images/";
const string BaseFigmaDocumentUrl = "https://api.figma.com/v1/files/";

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.volorf.figma-ui-image",
"version": "1.1.0",
"version": "1.2.0",
"displayName": "Figma UI Image",
"description": "Bring your design from Figma to Unity as a UI Image with a few clicks.",
"unity": "2022.3",
Expand Down

0 comments on commit 98c222e

Please sign in to comment.