Пример #1
0
 public static void SetGender(EGAGender gender)
 {
     GAThreading.PerformTaskOnGAThread("setGender", () =>
     {
         if (GAValidator.ValidateGender(gender))
         {
             GAState.SetGender(gender);
         }
     });
 }
Пример #2
0
        public static void SetGender(string gender)
        {
#if UNITY_EDITOR
            if (GAValidator.ValidateGender(gender))
            {
                setGender(gender);
            }
#else
            setGender(gender);
#endif
        }