C# Class Xsolla.CustomVirtCurrAmountController

Inheritance: UnityEngine.MonoBehaviour
Mostra file Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Public Properties

Property Type Description
btnPay UnityEngine.UI.Button
iconRealCurr UnityEngine.UI.Text
iconVirtCurr Image
realCurrAmount InputField
totalAmountTitle UnityEngine.UI.Text
virtCurrAmount InputField

Public Methods

Method Description
CustomVirtCurrAmountController ( ) : System
initScreen ( XsollaUtils pUtils, string pCustomCurrency, object>.Action pActionCalc, Action pTryPay ) : void
setValues ( CustomAmountCalcRes pValue ) : void

Private Methods

Method Description
GetOutAmount ( ) : float
GetParamsForCalc ( bool pVirtCurr ) : object>.Dictionary

Method Details

CustomVirtCurrAmountController() public method

public CustomVirtCurrAmountController ( ) : System
return System

initScreen() public method

public initScreen ( XsollaUtils pUtils, string pCustomCurrency, object>.Action pActionCalc, Action pTryPay ) : void
pUtils XsollaUtils
pCustomCurrency string
pActionCalc object>.Action
pTryPay Action
return void

setValues() public method

public setValues ( CustomAmountCalcRes pValue ) : void
pValue CustomAmountCalcRes
return void

Property Details

btnPay public_oe property

public Button,UnityEngine.UI btnPay
return UnityEngine.UI.Button

iconRealCurr public_oe property

public Text,UnityEngine.UI iconRealCurr
return UnityEngine.UI.Text

iconVirtCurr public_oe property

public Image iconVirtCurr
return Image

realCurrAmount public_oe property

public InputField realCurrAmount
return InputField

totalAmountTitle public_oe property

public Text,UnityEngine.UI totalAmountTitle
return UnityEngine.UI.Text

virtCurrAmount public_oe property

public InputField virtCurrAmount
return InputField