Method GetCreaturePrefab
| Improve this Doc View SourceGetCreaturePrefab(string)
Get a custom or vanilla creature prefab by its name.
Declaration
public GameObject GetCreaturePrefab(string creatureName)
Parameters
Type | Name | Description |
---|---|---|
string | creatureName | Name of the creature to search. |
Returns
Type | Description |
---|---|
GameObject | The prefab of the creature if found. |