private HologramTypeChoice GetChoice(HologramType type) { HologramTypeChoice choice = Choices.FirstOrDefault(v => v.MyType == type); if (choice == null) { Debug.LogError("Missing HologramTypeChoice"); return(null); } return(choice); }
private void SetCurrentChoice() { _currentChoice = GetChoice(_currentType); }