Hide
ResourceFolder

A folder picker to pick a resource folder under any Resources. It'll give error if the selected folder is not a resource.

Parameters:

  • string folder="" default folder to open. If it's an empty string, it'll first try the current value of the field, then the first Resources folder found.
  • string title="Choose a folder inside resources" title of the picker
  • string groupBy = "" See the GroupBy section
using SaintsField; [ResourceFolder] public string resourcesFolder; [ResourceFolder] public string[] resourcesFolders;