public static void SetGender(EGAGender gender) { GAThreading.PerformTaskOnGAThread("setGender", () => { if (GAValidator.ValidateGender(gender)) { GAState.SetGender(gender); } }); }
public static void SetGender(string gender) { #if UNITY_EDITOR if (GAValidator.ValidateGender(gender)) { setGender(gender); } #else setGender(gender); #endif }