Example Scenes

In_AppPurchases

This example scene can be found at Assets/Extensions/WP8Native/xExample/Scenes/In_AppPurchases. It will describe how you can use InApp purchases(billing) API. The controller script WPM_MarketExample is attached to the example gameobject and provides example for API calls.

In_AppPurchases[Setup]

You need to complete setup.Your products will be available in few hours.

You can now edit WPN_BillingManagerExample edit script. Replace placeholders with your items and you are ready for testing the example scene.

public const string YOUR_DURABLE_PRODUCT_ID_CONSTANT = "item2";
public const string YOUR_CONSUMABLE_PRODUCT_ID_CONSTANT = "item1";

PopUpExample

This example scene can be found at Assets/Extensions/WP8Native/xExample/Scenes/PopUpExample.It will describe how you can use Native PopUps API. The controller script WPN_PopUpExamples attached to the example gameobject and provides example for API calls.

PopUpExamples[Setup]

The scene should work out of the box.

To create WP8RateUsPopUp use:

public static WP8RateUsPopUp Create(string title, string message){}

To create WP8Dialog use:

public static WP8Dialog Create(string title, string message) {}

To create WP8Message use:

public static WP8Message Create(string title, string message) {}

Preview

This example scene can be found at Assets/Extensions/WP8Native/xExample/Scenes/Preview.It will describe how you can use InApp purchases(billing) API and Native PopUps API. The controller script WP8FeaturesExample is attached to the Preview gameobject and provides example for API calls.

Preview[Setup]

Scene is a preview for use as InApp purchases(billing) API and Native PopUps API.

 

 

User replies

No replies yet