Method DestroyPrefab
| Improve this Doc View SourceDestroyPrefab(string)
Destroy a custom prefab.
Removes it from the manager and if already instantiated also from the ZNetScene.
Removes it from the manager and if already instantiated also from the ZNetScene.
Declaration
public void DestroyPrefab(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the prefab to destroy |