Method RegisterToZNetScene
| Edit this page View SourceRegisterToZNetScene(GameObject)
Register a single prefab to the current ZNetScene.
Checks for existence of the object via GetStableHashCode() and adds the prefab if it is not already added.
Checks for existence of the object via GetStableHashCode() and adds the prefab if it is not already added.
Declaration
public void RegisterToZNetScene(GameObject gameObject)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject |