Actions List

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

Assets/Extensions/IOSNative/Addons/PlayMakerActions.zip

You can simply unzip it to the same folder and IOS Native action will appear under playmaker actions menu.

Here is the list of currently supported actions:

Billing

  1. ISN_BillingInit

  2. ISN_BillingEventsListener

  3. ISN_GetProductData

  4. ISN_IsInAppsEnabled

  5. ISN_PurchaseAction

  6. ISN_RestorePurchases

  7. ISN_ValidateLastPurchase

Camera

  1. ISN_SaveTextureToCameraRoll

  2. ISN_SaveScreenshotToCameraRoll

  3. ISN_LoadTextureFromGallery

  4. ISN_LoadTextureFromCamera

GameCenter

  1. ISN_GameCenterInit

  2. ISN_RetriveGCPlayerId 

  3. ISN_GetScore

  4. ISN_ShowAchivmentsUI

  5. ISN_GetAchivmentProgress

  6. ISN_ResetAchivments

  7. ISN_ShowLeaderboardssUIAction

  8. ISN_ShowLeaderboardUIAction

  9. ISN_SubmitAchivment

  10. ISN_SubmitScore

NativePopUps

  1. ISN_DialogPopUpAction

  2. ISN_HidePreloader

  3. ISN_MessagePopUpAction

  4. ISN_RatePopUpAction

  5. ISN_ShowPreloader

Social

  1. ISN_FacebookPost

  2. ISN_FacebookPostScreenShot

  3. ISN_ScreehSotPostTask

  4. ISN_ScreenShot

  5. ISN_ShareMedia

  6. ISN_ShareScreeenShot

  7. ISN_TwitterPost

  8. ISN_TwitterPostScreenshot

iAd

  1. ISN_CreateBanner

  2. ISN_DestroyBanner

  3. ISN_HideBanner

  4. ISN_ShowBanner

  5. ISN_StartInterstitialAd

  6. ISN_LoadInterstitialAd

  7. ISN_ShowInterstitialAd

iCloud

  1. ISN_iCloudInit

  2. ISN_CloudSetString

  3. ISN_CloudRequestDataForKey

Notifications

  1. ISN_ApplicationIconBadgeNumber

  2. ISN_CancelNotifications

  3. ISN_RegisterForRemoteNotifications

  4. ISN_ScheduleNotification

  5. ISN_ShowNotificationBanner

 

Billing

ISN_BillingInit

Use this action to init billing. 

Events:

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

ISN_BillingEventsListener

Use this action to subscribe in billing listener.

Events:

  • Init Complete Event - fires when init successfully complete. 
  • Restore Products Complete - fires when restoring products successfully complete. 
  • Product Purchased Event - fires when purchased complete.
  • Product Restored Event - fires when restoring complete.
  • Purchased Failed Event - fires, when purchased failed.
  • Purchased Deferred Event - fires when purchased deferred. 

Fileds:

  • Transaction Product Id [string] - id of the product. 

ISN_GetProductData

Use this action to get product info. You can save result into the variables, to operate with them in future. 

Events:

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

Fileds:

  • Title [string] - title of the product.
  • Description [string] - description of the product.
  • Price [string] - price of the product.
  • Currency Symbol [string] - currency symbol of the product.
  • Currency Code [string] -currency code of the product. 
  • Formatted Price [string] - formatted price of the product. 

ISN_IsInAppsEnabled

Use this action to check is app can make payments.

Events:

  • Can Make Payments Event - fires when app can make payments.
  • Can Not Make Payments Event - fires when app can't make payments.

Fileds:

  • Can Make Payments [Boolean] - place boolean variable, true if can, and false if can't.

ISN_PurchaseAction

Use this action to purchase items. 

Events:

  • Deferred Event - fires when purchase is deferred.
  • Purchased Event - fires when successfully purchased.
  • Fail Event -fires when failed to purchased.

Fileds:

  • Product ID [string] - id of the product.
  • Receipt [string] - info about product.

ISN_RestorePurchases

Use this action to restore purchases. 

Events:

  • Success Event - fires when successfully restore purchase.
  • Fail Event - fires when fail to restore purchase.
  • Item Restored Event - fires when item restored.

Fileds:

  • Restored Products [string] - counts of restored products, fill them by id. 
  • Current Restored Item [string] - id of current restored items.

ISN_ValidateLastPurchase

Use this action to validate last purchase.

Events:

  • Success Event - fires when successfully validate last purchased.
  • Fail Event - fires when failed to validate last purchased.

Fileds:

  • Status [Int32] - status of product.
  • Receipt [string] - info about product.
  • Original JSON [string] - JSON.

Camera

ISN_SaveTextureToCameraRoll

Use this action to save image to camera roll. 

Fileds:

  • Texture [Texture] - save image into the variables. 

ISN_SaveScreenshotToCameraRoll

Use this action to save screenshot of current device to the camera roll.

ISN_LoadTextureFromGallery

Use this action for load image from gallery. 

Events:

  • Loaded - fires when successfully load image from gallery.
  • Fail - fires when failed to load from gallery.

Fileds:

  • Loaded Texture [Texture] - save image into the variables.

ISN_LoadTextureFromCamera

Use this action for load image from camera. 

Events:

  • Loaded - fires when successfully load image from camera.
  • Fail - fires when failed to load from camera.

Fileds:

  • Loaded Texture [Texture] - save image into the variables.

GameCenter

ISN_GameCenterInit

Use this action to init Game Center.

Events:

  • Success Event - fires when successfully init Game Center. 
  • Fail Event - fires when failed to init Game Center.

ISN_RetriveGCPlayerId

Use this action to retrieve GC Player ID.

Events:

  • Success Event - fires when successfully retrieve GC Player ID. 
  • Fail Event - fires when failed to retrieve GC Player ID.

Fileds:

  • Player id [string] - player id. 

ISN_GetScore

Use this action when you need to get score.

  • Leaderboard id [string] - id of the leaderboard. 
  • Score [Int32] - count of score which will display in leaderboard.

ISN_ShowAchivmentsUI

Use this action when you need to call achievement with default UI.

ISN_GetAchivmentProgress

Use this action when you need to get achievement progress current player.

Fileds:

  • Achievement Id [string] - id of the achievement.
  • Achievement progress [float] - you can save progress of the achievement into the variable. 

ISN_ResetAchivments

Use this action when you need to reset all achievement of the current player.

ISN_ShowLeaderboardssUIAction

Use this action when you need to show all leaderboards with default UI.

ISN_ShowLeaderboardUIAction

Use this action when you need to show one leaderboard with UI.

Fileds:

  • Leaderboard Id [string] - id of the leaderboard.
  • Time Span - you have 3 variants:
  1. Today - show only today's score.
  2. Week - show score by week.
  3. All_time - show score by all time.

ISN_SubmitAchivment

Use this action if you need to submit achievement. 

Fileds:

  • Achievement Id [string] - id of the achievement.
  • Progress [float] -progress of that achievement. 
  • Notification Text [string] - text which will show with the achievement. 

Checklist:

  • Show Notification - enable or disable notification.
  • Use Custom Notification - enable or disable custom notification. 

ISN_SubmitScore

Use this action to submit score into the leaderboard.

Fileds:

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

NativePopUps

ISN_DialogPopUpAction

Use this action when you need to show dialog PopUp

Fileds:

  • Title [string] - title of the PopUp.
  • Message [string] - main message of the PopUp.
  • Yes [string] - text on yes button.
  • No [string] - text on no button. 

Events:

  • Yes Event - fires when pressed button yes.
  • No Event - fires when pressed button no.

Dropdown:

  • Result in Editor - which opinion uses automatic in editor.

ISN_HidePreloader

Use this action when you need to hide preloader.

ISN_MessagePopUpAction

Fileds:

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

ISN_RatePopUpAction

Use this action when you need to show rate PopUp.

Fileds:

  • Title [string] - title of the rate popup.
  • Message [string] - message of the rate popup.
  • Yes [string]  - yes button text.
  • No [string]  - no button text.
  • Later [string]  - later button text.

Events:

  • Yes Event - fires when pressed button yes.
  • No Event - fires when pressed button no.
  • Later Event - fires when pressed button later.

Dropdown:

  • Result in Editor - which opinion uses automatic in editor.

ISN_ShowPreloader

Use this action when you need to show preloader.

Social

ISN_FacebookPost

Use this action to post in facebook. 

Events:

  • Success Event - fires when successfully post in facebook.
  • Fail Event - fires when failed to post in facebook. 

Fileds:

  • Message [string] - main message of post. 
  • Url [string] - url of post. 
  • Texture [Texture] - image of the post.

ISN_FacebookPostScreenShot

Use this action to post with screenshot with 

Fileds:

  • Message [string] - main text of the post.

Events:

  • Success Event - fires when successfully post with screenshot in facebook.
  • Fail Event - fires when failed to post with screenshot in facebook. 

ISN_ScreehSotPostTask

Use this action to share screenshot post.

Fileds:

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

ISN_ScreenShot

Use this action to take screenshot. 

Fileds:

Screenshot [Texture] - image of screen share save it into variables. 

ISN_ShareMedia

Use this action to share media.

Fileds:

Message [string] - text of the share.

Texture [Texture] - image if the share.

ISN_ShareScreeenShot

Use this action to share screenshot. 

Fileds:

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

ISN_TwitterPost

Use this action to post in twitter. 

Events:

  • Success Event - fires when successfully post in twitter.
  • Fail Event - fires when failed to post twitter. 

Fileds:

  • Message [string] - main message of post. 
  • Url [string] - url of post. 
  • Texture [Texture] - image of the post.

ISN_TwitterPostScreenshot

Use this action to post screenshot to twitter.

Fileds:

  • Message [string] - main text of the post.

Events:

  • Success Event - fires when successfully post with screenshot in twitter.
  • Fail Event - fires when failed to post with screenshot in twitter. 

iAd

ISN_CreateBanner

Use this action to create ad banner.

Events:

  • Success Event - fires when successfully create banner.
  • Fail Event - fires when failed to create banner. 

Fileds:

  • Banner Id - id of the banner.

Dropdown:

  • Anchor - position of the banner.

Checklist:

  • Show Banner On Load - show banner or not on start. 

ISN_DestroyBanner

Use this action to destroy banner.

Fileds:

  • Banner Id [Int32] - id of the banner, which you will destroy. 

ISN_HideBanner

Use this action to hide banner.

Fileds:

  • Banner Id [Int32] - id of the banner, which you will hide. 

ISN_ShowBanner

Use this action to show banner.

Fileds:

  • Banner Id [Int32] - id of the banner, which you will hide. 

ISN_StartInterstitialAd

Use this action to start interstitial. 

Events:

  • Success Event - fires when successfully start interstitial.
  • Fail Event - fires when failed to start interstitial. 

ISN_LoadInterstitialAd

Use this action to load interstitial.

Events:

  • Success Event - fires when successfully load interstitial.
  • Fail Event - fires when failed to load interstitial. 

ISN_ShowInterstitialAd

Use this action to show interstitial.

Events:

  • Ad Showed Event - fires when successfully showed interstitial. 
  • Ad Closed Event - fires when successfully closed interstitial.
  • Ad Failed Event - fires when failed to show interstitial.

iCloud

ISN_iCloudInit

Use this action to init ICloud.

Events:

  • Success Event - fires when successfully init ICloud.
  • Fail Event - fires when failed to init ICloud. 

ISN_CloudSetString

Use this action to get string of ICloud.

Events:

  • Success Event -fires when successfully get the string. 

Fileds:

  • Key [string] - key of the string
  • Value [string] - value of the string. 

ISN_CloudRequestDataForKey

Use this action to request data for key.

Events:

  • Success Event -fires when successfully get the string. 

Fileds:

  • Key [string] - key of the request
  • Data [string] - data of the request. 

Notifications

ISN_ApplicationIconBadgeNumber

Use this action to set application icon badge number.

Fileds:

  • Badges [Int32] - count of badges.

ISN_CancelNotifications

Use this action to cancel notification by id. 

Fileds:

  • Notification Id [Int32] - id of the notification.

ISN_RegisterForRemoteNotifications

Use this action to register for remote notification, you need to put device token. 

Fileds:

  • Device Token [string] - token of the device. 

Dropdown:

  • Type - type of the notification. 

ISN_ScheduleNotification

Use this action to call schedule notification. 

Fileds:

  • Time [Int32] - time after init program will show notification. 
  • Message [string] - text of notification. 
  • Badges [Int32] - badges of notification. 

Checklist:

  • Sound - enable sound or not. 

ISN_ShowNotificationBanner

Use this action to show notification banner.

Fileds:

  • Title [string] - title of the notification.
  • Message [string] - text of the notification banner.