Show / Hide Table of Contents

Method GetCreaturePrefab

| Edit this page View Source

GetCreaturePrefab(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.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾