Method GetNetworkPrefabOverride
GetNetworkPrefabOverride(GameObject)
Declaration
public GameObject GetNetworkPrefabOverride(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | the GameObject to be checked for a NetworkManager defined NetworkPrefab override |
Returns
Type | Description |
---|---|
GameObject | a GameObject that is either the override or if no overrides exist it returns the same as the one passed in as a parameter |