A game about forced loneliness, made by TACStudios
1using System.Collections.Generic;
2using System.Reflection;
3using UnityEngine;
4using UnityEngine.Rendering;
5
6namespace UnityEditor.Rendering
7{
8 /// <summary>
9 /// Interface to extend to provide UI
10 /// </summary>
11 public interface ICoreRenderPipelinePreferencesProvider
12 {
13 /// <summary>
14 /// The list of keywords for user search
15 /// </summary>
16 List<string> keywords { get; }
17
18 /// <summary>
19 /// The header of the panel
20 /// </summary>
21 GUIContent header
22 {
23 get
24 {
25 var type = GetType();
26 var displayTypeInfoAttribute = type.GetCustomAttribute<DisplayInfoAttribute>();
27 return EditorGUIUtility.TrTextContent(displayTypeInfoAttribute != null ? displayTypeInfoAttribute.name : type.Name);
28 }
29 }
30
31 /// <summary>
32 /// Renders the Preferences UI for this provider
33 /// </summary>
34 void PreferenceGUI();
35 }
36}