Actions List

The plugin now contains playmaker actions.

The actions scripts can be found in the zip archive at:

Assets/Extensions/UltimateMobile/Addons/PlayMakerActions

You can simply unzip it to the same folder and Ultimate Mobile actions will appear under playmaker actions menu. 

Action List:

 

Billing Actions:

  1. UM_Billing Events Listener

  2. UM_Billing_Init

  3. UM_Check Billing Connected State

  4. UM_Get Product Data

  5. UM_Is Product Purchased

  6. UM_Purchased Action

  7. UM_Restore Purchases

Camera and Gallery Actions:

  1. UM_Get Image From Camera

  2. UM_Get Image From Gallery

  3. UM_Save Image To Gallery

  4. UM_Save Screenshot To Gallery

Game Service Actions:

  1. UM_Game Service Sign In

  2. UM_Get Achievements Progress

  3. UM_Get Current Player Score

  4. UM_Get Player Data

  5. UM_Increment Achievement

  6. UM_Reset Achievement 

  7. UM_Show Achievement UI

  8. UM_Show Leader Board UI

  9. UM_Show Leader Boards UI

  10. UM_Submit Score

  11. UM_Unlock Achievement 

Notifications Actions:

  1. UM_Cancel All Local Notifications

  2. UM_Cancel Local Notification 

  3. UM_Retrieve Device Push Id

  4. UM_Schedule Local Notification 

  5. UM_Show Notification PopUp

Social Actions:

  1. UM_Facebook Share

  2. UM_Share Media

  3. UM_Twitter Share 

 

 

Billing Actions:

UM_Billing Events Listener

Use this action to track billing events. of the current product.

Events:

  • Billing Connected - fires when billing is connected.
  • Transactions Restored - fires when transactions are restored.
  • Item Purchased - fires when item is purchased.

Fileds:

  • Purchased Item Id [string] - id of the item.

UM_Billing_Init

Use this action to init Billing. You need to call this actions before any other Billing Actions. 

Events:

  • Success Event  - event is fired when billing initialization is completed.
  • Fail Event - event is fired when billing initialization is failed.

UM_Check Billing Connected State

Use this action to check connection status of the billing.

Events:

  • Billing State Connected - fires when billing is connected.
  • Billing State Disconnected - fires when billing is disconnected. 

UM_Get Product Data

Use this action to retrieve the product data. You can save the result of the product info into the variables and operate with them in future.

Events:

  • Product Found Event - fires when successfully retrieve product data.
  • Product Not Found Event - fires when failed to retrieve product data.

Fileds:

  • Product Identifier [string] - id of the product which you need to get data.
  • Title [string] - title of the product.
  • Description [string] - description of the product
  • Price [string] - price of the product.

UM_Is Product Purchased

Use this action to check if product is purchased. You need to fill the field Product Identifier, which you need to check.

Events:

  • Product State Purchased - fires when product is purchased.
  • Product State Unknown - fires when product is not purchased.

Fileds:

  • Product Identifier [string] - id of the product which you need to check.
  • Is Purchased [Boolean] - return true if purchased and false if not.

UM_Purchased Action

Use this action to purchase an item. You need to type id in-app product in field Product ID.

Events:

  • Purchased Event - fires when purchasing is successful.
  • Fail Event - fires when purchase failed.

Fileds:

  • Product ID [string] - purchase product id.

UM_Restore Purchases

Use this action to restore purchased.

Fileds:

  • Restored Product ID [string] -  product id you need to restore.

Events:

  • Product Restored - fires when successfully restored.
  • Restore Action Finished - fires when restore action finished.

Camera and Gallery Actions:

UM_Get Image From Camera

Use this action to get an image from the camera. You need to save the result into the variable if you need to use this image in future. 

Events:

  • Success Event - fires when successfully load image from the camera.
  • Fail Event - fires when fail to get the image from the camera.

Fileds:

  • Image [Texture] - you need to save this image into the variable if you want to to operate with this image.

UM_Get Image From Gallery

Use this action to get an image from the gallery. You need to save the result into the variable if you need to use this image in future.

Events:

  • Success Event -  fires when getting an image from the gallery.
  • Fail Event -  fires when fail to get an image from the gallery.

Fileds:

  • Image [Texture] - you need to save this image into the variable if you want to to operate with this image.

UM_Save Image To Gallery

Use this action to save the image to the gallery. You can choose variable from action AN_GetImageFromCamera and it will be saved into the gallery. 

Events:

  • Success Event -  fires when saving an image to the gallery.
  • Fail Event -  fires when fail to save an image to the gallery.

Fileds:

  • Image [Texture] - You need to choose the same variable as in AN_GetImageFromCamera, and the image will be saved in the gallery.

UM_Save Screenshot To Gallery

Use this action to save the screenshot of you devise screen in the gallery. You can change destination folder of screenshot in the settings of our plugin.

Events:

  • Success Event -  fires when saving a screenshot to the gallery.
  • Fail Event -  fires when failing to save a screenshot to the gallery

Game Service Actions:

UM_Game Service Sign In

Use this action to connect to the Game Service.

Events:

  • Success Event - fires when successfully connected to Game Service.
  • Fail Event - fires when failed to connect to the Game Service.

UM_Get Achievements Progress

Use this action to get achievement progress by id.

Fileds:

  • Achievement Id [string] - id of the achievement.
  • Achievement Progress [float] - current achievement progress.

UM_Get Current Player Score

Use this action to get current player score from leaderboard, and save the result into the variable.

Fileds:

  • Leaderboard Id [string] - leaderboard id.
  • Score [Int32] - save the score into the variable.

UM_Get Player Data

Use this action to get information about a player.

Fileds:

  • Player Id [string] - id of a player.
  • Player name [string] - name of a player.
  • Player Avatar [Texture] -avatar of a player.

Events:

  • Success Event - fires when successfully loaded information about a player. 
  • Fail Event -  fires when failed to load information about a player. 

UM_Increment Achievement

Use this action to increment achievement by the steps for the currently authenticated player. 

Fileds:

  • Achievement Id [string] - id of achievement.
  • Progress [Float] - increments the steps of the achievement with the given ID for the currently authenticated player.

UM_Reset Achievement 

Use this action to reset all achievements of the current player.

UM_Show Achievement UI

Use this action to show a player's achievements in default UI.

UM_Show Leader Board UI

Use this action to show leaderboard by id. 

Fileds:

  • Leaderboard Id [string] - leaderboard id.

UM_Show Leader Boards UI

Use this action to load all leaderboards.

UM_Submit Score

Use this action to submit score to the leaderboard.

Fileds:

  • Leaderboard Id [string] - leaderboard in which you will submit score. 
  • Score [Int32] - count of the score which you will submit.

UM_Unlock Achievement 

Use this action to unlock the achievement. 

Fileds:

  • Achievement id [string] - put the id of achievement where you want to report the number of additional steps the user has made.
  • Notification Text [string] - you can add custom notification text when a player unlocked the achievement.

Checklist:

  • Use Custom Notification - you can add custom notification to message.

Notifications Actions:

UM_Cancel All Local Notifications

Use this action to cancel all local notifications.

UM_Cancel Local Notification 

Use this action to cancel notification by id.

Fileds:

  • Notification Id [Int32] - cancel local notification by id.

UM_Retrieve Device Push Id

Use this action to retrieve device push id.

Fileds:

  • Device Push Id [string] - save result - device push id in the variable.

Events:

  • Success Event - fires when successfully retrieved push id.
  • Fail Event - fires when failed to retrieve push id. 

UM_Schedule Local Notification 

Use this action call schedule local notification. 

Fileds:

  • Notification Title [string] - title of local notification.
  • Notification Message [string] - main message of local notification.
  • Notification Time [Int32] -  count of second when local notification will show after start of application.
  • Notification Id [Int32] - id of this local notification.

UM_Show Notification PopUp

Use this action to create and show notification PopUp.

Fileds:

  • PopUp Title [string] - title of the message.
  • PopUp Message [string] - text of the message.

Social Actions:

UM_Facebook Share

Use this action to share in facebook.

Fileds:

  • Message [string] - text of the post.
  • Texture [Texture] - image of the post

UM_Share Media

Use this action to share in media, and choose where you want to share.

Fileds:

  • Caption [string] - title of a post. 
  • Message [string] - text of a post.
  • Texture [Texture] - image of a post

UM_Twitter Share 

Use this action to share in twitter.

Fileds:

  • Status [string] - status of a post.
  • Texture [Texture] - image of a post