2d-extras
2d-extras copied to clipboard
GridInformation.cs error : The name 'HashCode' does not exist in the current context
'HashCode' does not exist
internal struct GridInformationKey : IEquatable<GridInformationKey>
{
public Vector3Int position;
public String name;
public bool Equals(GridInformationKey key)
{
return position == key.position && name == key.name;
}
public override int GetHashCode()
{
return HashCode.Combine(position.GetHashCode(), name.GetHashCode());
}
}
tag: 2020.3 last version
Unity Version: 2020.3.21f, Api Level: .NET 4.X
Will fix, thanks!
Sorry about this issue, we have updated the branch with a fix!

Sorry, but the issue still persists with an additional error.
Hi, which version of Unity are you using? The master branch of this repo is meant for 2021.1 and above. If you are using 2020.3, could you try the 2020.3 branch of this repo?
On Sat, Oct 22, 2022, 14:40 Affan @.***> wrote:
[image: image] https://user-images.githubusercontent.com/6506010/197322443-da77a236-2281-4408-bb04-aa83a3533078.png
Sorry, but the issue still persists with an additional error.
— Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/2d-extras/issues/350#issuecomment-1287638188, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHA3TEVXKGU257KOLB7WWYLWEN45TANCNFSM6AAAAAARB5NE6Q . You are receiving this because you commented.Message ID: @.***>