private SetUserBirthYear ( int birthYear ) : AnalyticsResult | ||
birthYear | int | |
Результат | AnalyticsResult |
public static AnalyticsResult SetUserBirthYear(int birthYear) { UnityAnalyticsHandler unityAnalyticsHandler = GetUnityAnalyticsHandler(); if (s_UnityAnalyticsHandler == null) { return(AnalyticsResult.NotInitialized); } return(unityAnalyticsHandler.SetUserBirthYear(birthYear)); }
public static AnalyticsResult SetUserBirthYear(int birthYear) { UnityAnalyticsHandler unityAnalyticsHandler = Analytics.GetUnityAnalyticsHandler(); AnalyticsResult result; if (Analytics.s_UnityAnalyticsHandler == null) { result = AnalyticsResult.NotInitialized; } else { result = unityAnalyticsHandler.SetUserBirthYear(birthYear); } return(result); }