Hi all
I have a main function that sends analytics events after checking whethet the app is running in the editor, whether the user has opted out etc etc.
However, whilst I can pass an AnalyticsEvent to the function, I can’t see how to action that event. Any ideas?
So I want to do something like this:
doAnalytics(analyticsevent.gameover)
public bool doAnalytics(analyticsevent tempevent)
{
// do checks here
analyticsresult result = tempevent;
}
Any ideas how I can make that work?
Olly