This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
station_obscurum_unity/Assets/Packages/FishNet/Runtime/Serializing/SceneComparer.cs
2023-06-01 11:21:49 -07:00

19 lines
385 B
C#

using System.Collections.Generic;
using UnityEngine.SceneManagement;
namespace FishNet.Serializing.Helping
{
internal sealed class SceneHandleEqualityComparer : EqualityComparer<Scene>
{
public override bool Equals(Scene a, Scene b)
{
return (a.handle == b.handle);
}
public override int GetHashCode(Scene obj)
{
return obj.handle;
}
}
}