A game about forced loneliness, made by TACStudios
1using System; 2using UnityEditor.ShaderGraph.Serialization; 3using UnityEngine; 4 5namespace UnityEditor.ShaderGraph 6{ 7 [Serializable] 8 class StickyNoteData : JsonObject, IGroupItem, IRectInterface 9 { 10 [SerializeField] 11 string m_Title; 12 13 public string title 14 { 15 get => m_Title; 16 set => m_Title = value; 17 } 18 19 [SerializeField] 20 string m_Content; 21 22 public string content 23 { 24 get => m_Content; 25 set => m_Content = value; 26 } 27 28 [SerializeField] 29 int m_TextSize; 30 31 public int textSize 32 { 33 get => m_TextSize; 34 set => m_TextSize = value; 35 } 36 37 [SerializeField] 38 int m_Theme; 39 40 public int theme 41 { 42 get => m_Theme; 43 set => m_Theme = value; 44 } 45 46 [SerializeField] 47 Rect m_Position; 48 49 public Rect position 50 { 51 get => m_Position; 52 set => m_Position = value; 53 } 54 55 Rect IRectInterface.rect 56 { 57 get => position; 58 set 59 { 60 position = value; 61 } 62 } 63 64 [SerializeField] 65 JsonRef<GroupData> m_Group = null; 66 67 public GroupData group 68 { 69 get => m_Group; 70 set 71 { 72 if (m_Group == value) 73 return; 74 75 m_Group = value; 76 } 77 } 78 79 80 public StickyNoteData() : base() { } 81 public StickyNoteData(string title, string content, Rect position) 82 { 83 m_Title = title; 84 m_Position = position; 85 m_Content = content; 86 } 87 } 88}