0.447.1.411123

This commit is contained in:
CloneTrooper1019
2020-09-12 20:16:19 -05:00
parent 0312a1559c
commit 4240337863
37 changed files with 663 additions and 89 deletions

@ -36,5 +36,29 @@
return new UDim2(scaleX, offsetX, scaleY, offsetY);
}
public override int GetHashCode()
{
int hash = X.GetHashCode()
^ Y.GetHashCode();
return hash;
}
public override bool Equals(object obj)
{
if (!(obj is UDim2))
return false;
var other = obj as UDim2;
if (!X.Equals(other.X))
return false;
if (!Y.Equals(other.Y))
return false;
return true;
}
}
}