C# Class Xsolla.GoodsAdapter

Inheritance: IBaseAdapter
Afficher le fichier Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Méthodes publiques

Свойство Type Description
OnBuy bool>.Action
OnFavorite Action

Méthodes publiques

Méthode Description
GetCount ( ) : int
GetElementType ( int id ) : int
GetNext ( ) : GameObject
GetPrefab ( ) : GameObject
GetView ( int position ) : GameObject
SetManager ( XsollaGoodsManager pricepoints, string buyBtnText ) : void
Start ( ) : void
ToString ( ) : string

Private Methods

Méthode Description
OnClickBuy ( string sku ) : void
OnClickBuy ( string sku, bool isVirtualPayment ) : void
OnClickFavorite ( bool isFavorite, string sku, long virtualItemId ) : void

Method Details

GetCount() public méthode

public GetCount ( ) : int
Résultat int

GetElementType() public méthode

public GetElementType ( int id ) : int
id int
Résultat int

GetNext() public méthode

public GetNext ( ) : GameObject
Résultat GameObject

GetPrefab() public méthode

public GetPrefab ( ) : GameObject
Résultat GameObject

GetView() public méthode

public GetView ( int position ) : GameObject
position int
Résultat GameObject

SetManager() public méthode

public SetManager ( XsollaGoodsManager pricepoints, string buyBtnText ) : void
pricepoints XsollaGoodsManager
buyBtnText string
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

OnBuy public_oe property

public Action OnBuy
Résultat bool>.Action

OnFavorite public_oe property

public Action OnFavorite
Résultat Action