AssemblyCSharp.RX_CardManager.GetRect C# (CSharp) Метод

GetRect() статический приватный Метод

static private GetRect ( int p1, float p2, RX_SEAT_POSITION pos ) : Rect
p1 int
p2 float
pos RX_SEAT_POSITION
Результат UnityEngine.Rect
		static Rect GetRect(int p1,float p2,RX_SEAT_POSITION pos)
		{
			Rect rect = new Rect ();

			if (pos == RX_SEAT_POSITION.RX_SEAT_LEFT || pos == RX_SEAT_POSITION.RX_SEAT_RIGHT) {
				rect.y = (float)p1;
				rect.x = (float)p2;
			} else {
				rect.x = (float)p1;
				rect.y = (float)p2;
			}

			rect.width = 42f;
			rect.heitht = 60f;

			return rect;
		}