Method Remove
Remove(NetworkPrefab)
Remove a NetworkPrefab instance from the list
Declaration
public void Remove(NetworkPrefab prefab)
Parameters
Type | Name | Description |
---|---|---|
NetworkPrefab | prefab |
Remarks
The framework does not synchronize this list between clients. Any runtime changes must be handled manually.
Any modifications made here are not persisted. Permanent configuration changes should be done through the NetworkPrefabsList scriptable object property.
Remove(GameObject)
Remove a NetworkPrefab instance with matching Prefab from the list
Declaration
public void Remove(GameObject prefab)
Parameters
Type | Name | Description |
---|---|---|
GameObject | prefab |
Remarks
The framework does not synchronize this list between clients. Any runtime changes must be handled manually.
Any modifications made here are not persisted. Permanent configuration changes should be done through the NetworkPrefabsList scriptable object property.