Skip to content

Instantly share code, notes, and snippets.

@ialex32x
Created February 13, 2025 02:19
Show Gist options
  • Save ialex32x/f07abd016807d1ea71680cef4b4bb4e8 to your computer and use it in GitHub Desktop.
Save ialex32x/f07abd016807d1ea71680cef4b4bb4e8 to your computer and use it in GitHub Desktop.
How to define a PropertyInfo for filepath array
PropertyInfo PackagingIncludeFiles;
PackagingIncludeFiles.type = Variant::ARRAY;
PackagingIncludeFiles.name = "MyPropertyName";
PackagingIncludeFiles.hint = PROPERTY_HINT_ARRAY_TYPE;
PackagingIncludeFiles.hint_string = vformat("%s/%s:%s", Variant::STRING, PROPERTY_HINT_FILE, "*.abc,*.xyz");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment