private void ShowSample(SampleData sample) { _codeView.Clear(); _uxmlView.Clear(); _uxmlView.AddUxml($"{sample.Name}/{sample.Name}UxmlSample.uxml"); sample.Code.Create(_codeView); sample.Uxml.Setup(_uxmlView); _codeText.value = GetCodeText(sample.Name); _uxmlText.value = GetUxmlText(sample.Name); _uxmlCodeText.value = GetUxmlCodeText(sample.Name); }