private void UpdateNameField(CreateAssetStrategy entry) { var defaultFileName = entry != null ? Path.ChangeExtension(entry.DefaultFileName, entry.FileExtension) : ""; _fileNameField.SetValueWithoutNotify( string.IsNullOrWhiteSpace(_fileName) ? defaultFileName : _fileName); }
private void UpdateDetailsSection(CreateAssetStrategy entry) { _details.ToggleDisplayStyle(entry != null); _description.text = entry?.Description; _typeName.text = entry?.AssetType?.Name ?? ""; }