-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from MiaGobble/dev-beta
Publish auto import and other updates
- Loading branch information
Showing
8 changed files
with
100 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,5 @@ luac.out | |
*.x86_64 | ||
*.hex | ||
|
||
# Misc | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Install Instructions | ||
|
||
### Studio Plugin | ||
* Insert the Roblox model for the plugin in studio | ||
* Right click that model and select "save as local plugin", then click save | ||
|
||
### Figma App | ||
* Unzip App folder | ||
* In Figma, go to Plugins -> Development -> Import plugin from manifest | ||
* Go to the unzipped App folder and import the file named "manifest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Tags | ||
Tags are attached to the names of Figma nodes to modify import behavior. Below are the current tags usable for imports. Incorrect tagging is ignored and won't error. | ||
|
||
> [!TIP] | ||
> Tags are written in `@UPPERCASE` format! For example, the "group" tag is written as `@GROUP`. Tags can be stacked, separated by `@`. | ||
### `@GROUP` | ||
Groups a node in export. This means that no children will be exported under it. | ||
|
||
### `@IGNORE` | ||
Nodes with `@IGNORE` in the name will not be included in exports. | ||
|
||
### `@TYPE_FRAME` | ||
Declares the exported node to be a `Frame` class type in Studio. | ||
|
||
### `@TYPE_SCROLLING_FRAME` | ||
Declares the exported node to be a `ScrollingFrame` class type in Studio. | ||
|
||
### `@TYPE_BUTTON` | ||
Declares the exported node to be an `ImageButton` class type in Studio. | ||
|
||
### `@TYPE_TEXT_BUTTON` | ||
Declares the exported node to be a `TextButton` class type in Studio. | ||
|
||
### `@TYPE_IMAGE` | ||
Declares the exported node to be a `ImageLabel` class type in Studio. This is the default behind the scenes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
View auto import tags [here](./Docs/Temp/Tags.md) | ||
|
||
View install instructions [here](./Docs/Temp/InstallInstructions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 29 additions & 2 deletions
31
src/FigmaImportAssistant/Main/CorrectionHandler/Creator.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters