Method RegisterItemInObjectDB
| Edit this page View SourceRegisterItemInObjectDB(GameObject)
Register a single item in the current ObjectDB.
Also adds the prefab to the PrefabManager and ZNetScene if necessary.
No mock references are fixed.
No mock references are fixed.
Declaration
public void RegisterItemInObjectDB(GameObject prefab)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | prefab | GameObject with an ItemDrop component to add to the ObjectDB |