Ejemplo n.º 1
0
 /// <summary>
 /// Set the highest education level already achieved by the user, if known, using the provided enum.
 /// </summary>
 public static void SetUserEducationLevel(EducationLevel educationLevel)
 {
     if (System.Enum.IsDefined(typeof(EducationLevel), educationLevel))
     {
         #if !UNITY_EDITOR && (UNITY_ANDROID || UNITY_IPHONE)
             #if UNITY_ANDROID
         HeyzapDemographicsAndroid.SetUserEducationLevel(educationLevel.ToString());
             #elif UNITY_IPHONE
         HeyzapDemographicsIOS.SetUserEducationLevel(educationLevel.ToString());
             #endif
         #else
         #endif
     }
 }