Check if a list contains a gameobject unity code example
Example: checking if a list contains a value unity
if(list.Contains(item)){
//It does
}else{
//It not does
}
if(list.Contains(item)){
//It does
}else{
//It not does
}