sendAppScreenHit() публичный Метод

public sendAppScreenHit ( string screenName ) : void
screenName string
Результат void
Пример #1
0
 void OnLevelWasLoaded(int level)
 {
     if (!sceneName.Equals(Application.loadedLevelName))
     {
         //Debug.Log("AnalyticsTesting: app screen event - switch to scene " + Application.loadedLevelName);
         sceneName = Application.loadedLevelName;
         GoogleUniversalAnalytics gua = GoogleUniversalAnalytics.Instance;
         gua.sendAppScreenHit(newLevelAnalyticsEventPrefix + sceneName);
     }
 }
Пример #2
0
 // This method is here for backward compatibility (legacy example).
 // See the sendSystemInfoEvent() method below for an example of
 // a slightly customized event method. See commented-out
 // exampleAnalyticsTestHits() below for more analytics ideas.
 public static void changeScreen(string newScreenName)
 {
     gua.sendAppScreenHit(newScreenName);
 }