I know I had this before already, but I'm stuck again and can't find out how to solve it.
But I have this SDK I need to implement (Appsflyer) and am writing my own actions to trigger specific events at given times.
I have a particular problem with this code as seen in the attached screenshot:
AppsFlyeriOS.validateAndSendInAppPurchase("productIdentifier", "price", "currency", "tranactionId", null, this);
The problem lies in "this" which refers to a MonoBehaviour gameObject and the error is:
cannot convert from 'HutongGames.PlayMaker.Actions.AFIAPValidation' to 'UnityEngine.MonoBehaviour'
How can I resolve this (pun intended)?
Edit: can't attach any image because the upload folder is full.
but the method is:
void AppsFlyeriOS.validateAndSendInAppPurchase(string productIdentifier, string price, string currency, string tranactionId, Dictionary<string, string> additionalParameters, MonoBehaviour gameObject)