TLabAltoh / Unity-SDF-UI-Toolkit

UI components for Unity that render shapes with outlines, shadows and rounded corners using signed distance functions (SDF). And an SDF texture editor that allows users to edit Bezier curves and convert them to SDF textures within the Unity editor.
MIT License
35 stars 1 forks source link

Settings Utility #18

Closed AAAYaKo closed 2 months ago

AAAYaKo commented 2 months ago

Added settings window with default parameters for SDFUI and default antialiasing algorithm.

AAAYaKo commented 2 months ago

image

TLabAltoh commented 2 months ago

I changed only the menu item path from TLab/Settings to TLab/UI/SDF/Settings to avoid conflicts with the menu item path of other modules.

//[MenuItem("TLab/Settings")]
[MenuItem("TLab/UI/SDF/Settings")]
public static void Create()
{
    SDFUISettingsEditor wnd = GetWindow<SDFUISettingsEditor>(true, "SDFUISettings");
}
AAAYaKo commented 2 months ago

Ideally, it would be possible to generate resources in the Assets folder as in the TMP package via a dialog window, but for now the files are constantly being created. I plan to rework this later.

TLabAltoh commented 2 months ago

I’ve invited you to be a collaborator on this repository. You should be able to see the notification on GitHub’s notification page.

If you are a collaborator. You can push your update directly to this repository.

For major updates like adding new features, it would be great if you could use pull requests, or create new branch in this repositry and notice it at issues or discussions. That way, I can review it once (in which case I will merge your branch into the master if it seems no problem).

However, for small fixes or updates that related to the above, feel free to push update to this repositry's master directly without notification (that way, you don't have to make another pull request, which is more convenient). But if you made small update and it seems need to make notification, feel free to make notification at related issue or discussion or pull request's thread.

If you made merge request via pull request, maybe it takes an effort for you to push directly of small update related to it to master branch after merging it. So in this case, it is no problem to make another pull request for small update related to it.