Esempio n. 1
0
		public override void OnEnter()
		{
			if (GenderAsString.Value.Equals("male", StringComparison.InvariantCultureIgnoreCase) )
			{
				Gender = GA_Setup.GAGender.Male;
			}
			else if (GenderAsString.Value.Equals("female", StringComparison.InvariantCultureIgnoreCase) )
			{
				Gender = GA_Setup.GAGender.Female;
			}

			GA_Setup.SetGender(Gender);
		
			Finish();
		}
Esempio n. 2
0
        public override void OnEnter()
        {
            if (GenderAsString.Value.Equals("male", StringComparison.InvariantCultureIgnoreCase))
            {
                Gender = GA_Setup.GAGender.Male;
            }
            else if (GenderAsString.Value.Equals("female", StringComparison.InvariantCultureIgnoreCase))
            {
                Gender = GA_Setup.GAGender.Female;
            }

            GA_Setup.SetGender(Gender);

            Finish();
        }
Esempio n. 3
0
		public override void Reset()
		{
			Gender = GA_Setup.GAGender.Male;
		}
Esempio n. 4
0
 /// <summary>
 /// Set user gender.
 /// </summary>
 /// <param name="gender">Gender of user (Persists cross session).</param>
 public static void SetGender(GA_Setup.GAGender gender)
 {
     GA_Setup.SetGender(gender);
 }
Esempio n. 5
0
 public override void Reset()
 {
     Gender = GA_Setup.GAGender.Male;
 }