3.1 Asset Management

 

Static resources are split up into 3 different directories in your plugin.

Image and Model Data is loaded from the "assets" directory, Data Tables from the "data" directory and the UI Sheet from "ui".

When referencing a path, the current directory is assumed "assets" unless you are dealing with data tables.

Script or UI Sheet referenced paths may not start with '/', contain whitespace, no ".." or any other character besides a-z, A-Z, 0-9, '.', '_', '-'.

Path restrictions are set in place to prevent unauthroized access to files outside the designated directories.

To provide an empty path, "null" shall be used. Additionally, this file name is reserved and should not be used.

Go back