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) ); }
private void CreateProfile() { PlayerCreationScene.CreatePlayer(currAvatarId, currGender, currSkinColor, currHairColor, currBgColor, currAge); }