// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>> PAYMENT METHODS >>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> private void DrawPaymentListScreen() { currentActive = ActiveScreen.P_LIST; if (_paymentListScreenController == null) { GameObject paymentListScreen = Instantiate(paymentListScreebPrefab); _paymentListScreenController = paymentListScreen.GetComponent <PaymentListScreenController> (); _paymentListScreenController.transform.SetParent(mainScreenContainer.transform); _paymentListScreenController.GetComponent <RectTransform> ().anchoredPosition = new Vector2(0, 0); mainScreenContainer.GetComponentInParent <ScrollRect> ().content = _paymentListScreenController.GetComponent <RectTransform> (); } }