Show / Hide Table of Contents

Method GetPrefabs

| Edit this page View Source

GetPrefabs()

Get all added CustomPrefabs
Declaration
public static IEnumerable<CustomPrefab> GetPrefabs()
Returns
Type Description
IEnumerable<CustomPrefab> An IEnumerable<T> of CustomPrefab from all loaded mods
| Edit this page View Source

GetPrefabs(string)

Get all added CustomPrefabs of a mod by GUID
Declaration
public static IEnumerable<CustomPrefab> GetPrefabs(string modGuid)
Parameters
Type Name Description
string modGuid GUID of the mod
Returns
Type Description
IEnumerable<CustomPrefab> An IEnumerable<T> of CustomPrefab from a specific mod
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾