Method GetPrefab
| Improve this Doc 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 |