fishbait/UnityProject/Assets/FishNet/Runtime/Managing/Timing/SceneComparer.cs
NIMFER bf403a8f97 Ducktaped together a FishNet version of the Transport
Ducktaped together a FishNet version of the Transport, now I need to edit the LoadBalancer and Server so it connects and actually trades information
2022-08-14 03:55:25 +02:00

18 lines
381 B
C#

using System.Collections.Generic;
using UnityEngine.SceneManagement;
namespace FishNet.Managing.Timing
{
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;
}
}
}