示例#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);
 }