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