コード例 #1
0
 public static bool IsBottom(this ToastAnchor self)
 {
     return(Math.Abs(self.ToVector2().y - (-1F)) < EPS);
 }
コード例 #2
0
 public static bool IsRight(this ToastAnchor self)
 {
     return(Math.Abs(self.ToVector2().x - 1F) < EPS);
 }