Skip to content

Commit 98c222e

Browse files
authored
Merge pull request #5 from Volorf/1.2.0
1.2.0 Fixed 404 error
2 parents c3e0c5a + f95ee80 commit 98c222e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Create a UI Image in Unity from Figma Designs with just a few clicks!
1111

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

14-
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`.
15-
1614
## How to get an image from Figma
1715
To do that you need a few things:
1816
1. `Figma Access Token`;

Runtime/Scripts/FigmaUIImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class FigmaUIImage : MonoBehaviour, IFigmaImageUpdatable
2222
[SerializeField] float imageScale = 2f;
2323
[SerializeField] FigmaUIData figmaUIData;
2424

25-
const string MainFigmaLinkPart = "https://www.figma.com/file/";
25+
const string MainFigmaLinkPart = "https://www.figma.com/design/";
2626
const string BaseFigmaImageUrl = "https://api.figma.com/v1/images/";
2727
const string BaseFigmaDocumentUrl = "https://api.figma.com/v1/files/";
2828

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.volorf.figma-ui-image",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"displayName": "Figma UI Image",
55
"description": "Bring your design from Figma to Unity as a UI Image with a few clicks.",
66
"unity": "2022.3",

0 commit comments

Comments
 (0)