A game about forced loneliness, made by TACStudios
1using System; 2 3namespace UnityEditor.ShaderGraph 4{ 5 [Serializable] 6 [GenerationAPI] 7 internal struct KeywordEntry 8 { 9 public int id; // Used to determine what MaterialSlot an entry belongs to 10 public string displayName; 11 public string referenceName; 12 13 // In this case, we will handle the actual IDs later 14 public KeywordEntry(string displayName, string referenceName) 15 { 16 this.id = -1; 17 this.displayName = displayName; 18 this.referenceName = referenceName; 19 } 20 21 internal KeywordEntry(int id, string displayName, string referenceName) 22 { 23 this.id = id; 24 this.displayName = displayName; 25 this.referenceName = referenceName; 26 } 27 } 28}