C# Class StoreKit, unity-iap-example

Inheritance: MonoBehaviour
显示文件 Open project: keijiro/unity-iap-example Class Usage Examples

Public Methods

Method Description
Buy ( string productName ) : void
ConsumeProduct ( string productName ) : bool
HasProduct ( string productName ) : bool
Install ( string productIdPrefix ) : void

Private Methods

Method Description
GetPrefKey ( string productName ) : string
_StoreKitBuy ( string productName ) : void
_StoreKitInstall ( string productIdPrefix ) : void
_StoreKitIsAvailable ( ) : bool
_StoreKitIsProcessing ( ) : bool

Method Details

Buy() public static method

public static Buy ( string productName ) : void
productName string
return void

ConsumeProduct() public static method

public static ConsumeProduct ( string productName ) : bool
productName string
return bool

HasProduct() public static method

public static HasProduct ( string productName ) : bool
productName string
return bool

Install() public static method

public static Install ( string productIdPrefix ) : void
productIdPrefix string
return void