Skip to main content

Content Repository

Functions related to inspecting modules and assets loaded by the game.

Content.IsModuleLoadedByID
id
  • id (string) - the ID of the module, case insensitive
  • (boolean) - true if the module is loaded, false otherwise
Checks if a module with the specified unique ID has been loaded (i.e., it's in the 'Modules' folder). Module IDs look like the following: "edcf99d2-6ced-40fa-87e9-86cda5e570ee", and can be found in Module Settings in the editor.
Content.IsModuleLoadedByName
name
  • name (string) - the name of the module, case sensitive
  • (boolean) - true if the module is loaded, false otherwise
Checks if a module with the specified name has been loaded. Module names can be found in Module Settings in the editor.
Content.IsAssetLoadedByID
id
  • id (string) - the ID of the asset, case insensitive
  • (boolean) - true if the asset is loaded, false otherwise
Checks if an asset with the specified unique ID has been loaded. Asset IDs look like the following: "66f65198-ff19-4fd9-a039-52cbe6f14c2b", and can be found as the "Asset GUID" in the editor.
Content.IsAssetLoadedByName
name
  • name (string) - the name of the asset, case sensitive
  • (boolean) - true if the asset is loaded, false otherwise
Checks if an asset with the specified name has been loaded. The names of assets are listed in the left side pane of the editor.