Example #1
0
 /// <summary>
 /// Returns true if the given position is closer to the right corner than the given margin.
 /// </summary>
 public bool IsByRightCorner(Vector3 position, float margin)
 {
     if (Main == null)
     {
         return(false);
     }
     else
     {
         return(Main.IsByRightCorner(position, margin));
     }
 }