//ensures all properties are set protected override void SetProperties(SerializedProperty sentProperty) { if (GetIsCurrentProperty(sentProperty)) { return; } base.SetProperties(sentProperty); //set line properties name = sentProperty.FindPropertyRelative("name"); tag = sentProperty.FindPropertyRelative("tag"); useDefaultReply = sentProperty.FindPropertyRelative("useDefaultReply"); uniqueID = sentProperty.FindPropertyRelative("uniqueID"); //set tag properties tagType = tag.FindPropertyRelative("tagType"); tagName = tag.FindPropertyRelative("name"); id = tag.FindPropertyRelative("id"); storyInstruction = tag.FindPropertyRelative("storyInstruction"); instructions = tag.FindPropertyRelative("instructions"); System.Action <SerializedProperty> editAction = ConversationEditorWindow.Init; repliesList = GetDefaultEditButtonList(dataArray, "Replies"); instructionsList = EditorTool.GetDefaultFullDisplayList(instructions, "Instructions"); }