mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-07 11:28:35 -05:00
rename UniTask to DepthFirstScheduler
This commit is contained in:
41
Scripts/DepthFirstScheduler/Unit.cs
Normal file
41
Scripts/DepthFirstScheduler/Unit.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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 "()";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user