MarbleItUp / MIULevelCreationKit

Open level editor for Marble It Up! http://www.marbleitup.com/
Other
19 stars 11 forks source link

Added a "Change Export File Location" button #16

Closed VilleOlof closed 1 year ago

VilleOlof commented 1 year ago

Added a button right above the "Export" button to change export location.

Gets saved between restarts as specified path is saved to Assets/MIU/Internal/LevelExporterPath.txt.

It also displays what filepath is the current one above the new "Change Export File Location" button

This makes it convenient to test levels in the game instead of the level tester.

bengarney commented 1 year ago

LGTM, @Blueteak ?

Blueteak commented 1 year ago

I don't believe that you can modify anything in the Assets path in a build, so that will only work in the Editor. Instead I think you should just use PlayerPrefs.SetString() / PlayerPrefs.GetString()