/* RELEASE NOTES */

Current version: v0.1

New in this version:
Everything :)

This bridge will allow you to integrate MochiAds into Unity3D Flash games.

Used Unity3D version: Pro v3.5.3
Used FlashDevelop version: v4.0.4 RTM
Used MochiAds API version: v3.9.4

Download Unity Free: http://unity3d.com/unity/download/
Download FlashDevelop: http://flashdevelop.org/
Create a MochiAds account: https://www.mochimedia.com/r/7e5b660d24cafcc4

More info and a demonstration on Mochiland: http://www.mochiLand.com

--------------------------------------------------------------------------

Available methods in this version:

// Log a gameplay
MochiObject.startPlay();

// Log a gameplay end
MochiObject.endPlay();

// Show a leader board
MochiObject.showLeaderBoard(string leaderBoardID);

// Send a score to a leader board
MochiObject.sendScore(string leaderBoardID, int score);

// Send a score to a leader board with a player name
MochiObject.sendScoreWithName(string leaderBoardID, int score, string playerName);

// Show awards
MochiObject.showAwards();

// Unlock an award/achievement
MochiObject.unlockAchievement(string achievementID);

// Show a click-away ad at position x, y
MochiObject.showClickAwayAd(int xpos, int ypos);

// Hide the click-away ad
MochiObject.hideClickAwayAd();

// Show the login widget at position x, y
MochiObject.showLoginWidget(float xPos, float yPos);

// Hide the login widget
MochiObject.hideLoginWidget();

// Show the player profile
MochiObject.showProfile();

// Show the login page
MochiObject.requestLogin();

// Show the store.
MochiObject.showStore();
//*Optionally: to show only specific items, you can send id's when calling the store
MochiObject.showStore("id1, id2, id3");

// Show an item from the store
MochiObject.showItem(string id);
// *Optionally: show an item from the store at a certain position
MochiObject.showItem(string id, int xPos, int yPos);

// Show the video of a store item
MochiObject.showVideo(string id);

/ Set the inventory amount of a consumable shop item
MochiObject.setInventory(string itemName, int amount);

/ Change the inventory amount of a consumable item
MochiObject.changeInventoryBy(string itemName, int amount);

/ Delete an item from the inventory
MochiObject.deleteInventory(string itemName);