示例#1
0
 public static string DirectionName(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().DirectionName);
 }
示例#2
0
 public static int Ordinal(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().Ordinal);
 }
示例#3
0
 public static int Px3DZ(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().Px3DZ);
 }
示例#4
0
 public static Vector2Int XY3D(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().XY3D);
 }
示例#5
0
 public static IntVector2 XY(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().XY);
 }
示例#6
0
 public static int Y(this OrthoDir dir)
 {
     return(dir.GetAttribute <OrthoDirAttribute>().Y);
 }