Пример #1
0
 void CreateProfile()
 {
     PlayerCreationScene.CreatePlayer(
         AgeCategory.SelectedIndex + 4,
         Categories[CategoryIndex.Gender].SelectedIndex == 0 ? PlayerGender.M : PlayerGender.F,
         Categories[CategoryIndex.Avatar].SelectedIndex + 1,
         (PlayerTint)(Categories[CategoryIndex.Color].SelectedIndex + 1)
         );
 }
Пример #2
0
 private void CreateProfile()
 {
     PlayerCreationScene.CreatePlayer(currAvatarId, currGender, currSkinColor, currHairColor, currBgColor, currAge);
 }