I have an intVector2 class
public class intVector2
{
public int x;
public int y;
public intVector2(int _x, int _y)
{
x = _x;
y = _y;
}
}
In other script, I have created a list of them
List<intVector2> allowedPoss = new List<intVector2>();
How do I remove some items from it?
allowedPoss.Remove(new intVector2(1, 1)); //Doesn't works
P.S. sorry for my English.