Exemple #1
0
 private void AddTexture_Click(object sender, RoutedEventArgs e)
 {
     if (_selectedCloth != null)
     {
         ClothesManager.Instance().AddClothTextures(_selectedCloth);
     }
 }
Exemple #2
0
 private void SelectFirstPersonModel_Click(object sender, RoutedEventArgs e)
 {
     if (_selectedCloth != null)
     {
         ClothesManager.Instance().SetClothFirstPersonModel(_selectedCloth);
     }
     firstPersonModelPath.Text = !string.IsNullOrEmpty(_selectedCloth?.FirstPersonModelPath) ? _selectedCloth.FirstPersonModelPath : "Not selected...";
 }
 public static ClothesManager Instance()
 {
     return(_singleton ?? (_singleton = new ClothesManager()));
 }
Exemple #4
0
 private void AddFemaleClothes_Click(object sender, RoutedEventArgs e)
 {
     ClothesManager.Instance().AddClothes(Sex.Female);
 }