-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: add quickstart panel and sorting #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz push only Models.cs & ModelsUI.cs
package/Editor/Models/Models.cs
Outdated
@@ -12,12 +12,15 @@ public class Models : EditorWindow | |||
|
|||
#region Public Fields | |||
|
|||
public static List<ModelData> modelsQuickStart = new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add some comments to your newly added Lists
package/Editor/Models/Models.cs
Outdated
public static List<ModelData> modelsPrivate = new(); | ||
public static List<ModelData> modelsPublic = new(); | ||
|
||
public static List<TexturePair> texturesQuickStart = new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add some comments to your newly added Lists
package/Editor/Models/Models.cs
Outdated
public static List<TexturePair> texturesPrivate = new(); | ||
public static List<TexturePair> texturesPublic = new(); | ||
|
||
public static string privacyQuickStart = "quickstart"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add some comments to your newly added Lists
package/Editor/Models/Models.cs
Outdated
{ | ||
if (!isProcessing) | ||
{ | ||
while (true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there a while(true) here ? seems weird / useless
package/Editor/Models/ModelsUI.cs
Outdated
} | ||
else | ||
{ | ||
selectedTab = (IsPrivateTab()) ? 1 : 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
selectedTab seems redundant with privacySettings in Models.cs
This reverts commit 57072f2.
Adding quickstart tab inside models window.
Adding fetching public models with a sorting on "Unity" tag.
Adding some documentation.
Fix some variable naming and serialization.