A game about forced loneliness, made by TACStudios
at master 20 lines 775 B view raw
1using System; 2using UnityEngine; 3 4namespace UnityEditor.Rendering 5{ 6 /// <summary> 7 /// Item to store information used by <see cref="MaterialHeaderScopeList"></see>/> 8 /// </summary> 9 internal struct MaterialHeaderScopeItem 10 { 11 /// <summary><see cref="GUIContent"></see> that will be rendered on the <see cref="MaterialHeaderScope"></see></summary> 12 public GUIContent headerTitle { get; set; } 13 /// <summary>The bitmask for this scope</summary> 14 public uint expandable { get; set; } 15 /// <summary>The action that will draw the controls for this scope</summary> 16 public Action<Material> drawMaterialScope { get; set; } 17 /// <summary>The url of the scope</summary> 18 public string url { get; set; } 19 } 20}