Method GetPrefab
| Edit this page View SourceGetPrefab(string)
Get an prefab by its name.
Does not include Vanilla prefabs, see PrefabManager.GetPrefab(string)
for those.
Declaration
public static IModPrefab GetPrefab(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| IModPrefab |