0.447.1.411123
This commit is contained in:
DataTypes
BrickColor.csCFrame.csColor3.csColor3uint8.csColorSequence.csColorSequenceKeypoint.csContent.csNumberRange.csNumberSequence.csNumberSequenceKeypoint.csPhysicalProperties.csProtectedString.csQuaternion.csRay.csRect.csRegion3.csRegion3int16.csSharedString.csUDim.csUDim2.csVector2.csVector2int16.csVector3.csVector3int16.cs
Generated
Plugins
RobloxFile.csRobloxFileFormat.dllTree
XmlFormat
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user