예제 #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);
 }