Closed borisbauer-unity closed 1 year ago
I found a much better alternative API for new/save file prompts:
A different Unity UI method EditorUtility.SaveFilePanelInProject()
ensures that a user only picks a path within Assets.
Note: This API is not fully documented. It features an optional path parameter AND guarantees a returned relative path (relative to Assets/), both in their UX warning the user and what the returned string contains.
found a little bug:
The new settings asset does not appear on the list
The new settings asset does not appear on the list
Oh, right, there was not a general refresh so far for that drop-down interaction and at creation time.
Maybe I should add it even for the drop-down action (the drop-down appearing), so it would detect any new asset on disk.
Description
Added an option on the first welcome layout of PA.
Changes made
Notes
TODO: I could update the docs regarding the settings in this PR, unless we prefer a full pass over the docs at a later time.