Method Contains
Contains(GameObject)
Check if the given GameObject is present as a prefab within the list
Declaration
public bool Contains(GameObject prefab)
Parameters
Type | Name | Description |
---|---|---|
GameObject | prefab | The prefab to check |
Returns
Type | Description |
---|---|
bool | Whether or not the prefab exists |
Contains(NetworkPrefab)
Check if the given NetworkPrefab is present within the list
Declaration
public bool Contains(NetworkPrefab prefab)
Parameters
Type | Name | Description |
---|---|---|
NetworkPrefab | prefab | The prefab to check |
Returns
Type | Description |
---|---|
bool | Whether or not the prefab exists |