Show / Hide Table of Contents

Method DestroyPrefab

| Edit this page View Source

DestroyPrefab(string)

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