public bool CompareTo(UseRange ur)
{
bool same = false;
if(this.active == ur.active &&
this.range == ur.range &&
this.ignoreYDistance == ur.ignoreYDistance)
{
same = true;
}
return same;
}