private void AddTexture_Click(object sender, RoutedEventArgs e) { if (_selectedCloth != null) { ClothesManager.Instance().AddClothTextures(_selectedCloth); } }
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())); }
private void AddFemaleClothes_Click(object sender, RoutedEventArgs e) { ClothesManager.Instance().AddClothes(Sex.Female); }