public static string DirectionName(this EightDir dir) { return(dir.GetAttribute <EightDirAttribute>().DirectionName); }
public static Vector3Int Px(this EightDir dir) { return(dir.GetAttribute <EightDirAttribute>().Px); }
public static int Ordinal(this EightDir dir) { return(dir.GetAttribute <EightDirAttribute>().Ordinal); }
public static int PxZ(this EightDir dir) { return(dir.GetAttribute <EightDirAttribute>().PxZ); }
public static Vector2Int XY(this EightDir dir) { return(dir.GetAttribute <EightDirAttribute>().XY); }
public static int Y(this EightDir dir) { return(dir.GetAttribute <OrthoDirAttribute>().Y); }
public static int Px3DZ(this EightDir dir) { return(dir.GetAttribute <OrthoDirAttribute>().Px3DZ); }
public static IntVector2 XY(this EightDir dir) { return(dir.GetAttribute <OrthoDirAttribute>().XY); }