holopy3/Assets/UniGLTF/DepthFirstScheduler/Unit.cs
Lena Biresch 490ef558ef CleanUp
2021-01-28 13:07:52 +01:00

41 lines
821 B
C#

using System;
namespace DepthFirstScheduler
{
[Serializable]
public struct Unit : IEquatable<Unit>
{
static readonly Unit @default = new Unit();
public static Unit Default { get { return @default; } }
public static bool operator ==(Unit first, Unit second)
{
return true;
}
public static bool operator !=(Unit first, Unit second)
{
return false;
}
public bool Equals(Unit other)
{
return true;
}
public override bool Equals(object obj)
{
return obj is Unit;
}
public override int GetHashCode()
{
return 0;
}
public override string ToString()
{
return "()";
}
}
}