// INITIALIZERS: -------------------------------------------------------------------------- private void OnEnable() { this.sectionGeneral = new QuestUIUtilities.Section( "General", "General.png", this.Repaint ); this.spTitle = serializedObject.FindProperty("title"); this.spIncludeProgress = serializedObject.FindProperty("includeProgress"); this.spImage = serializedObject.FindProperty("image"); this.spDescriptionType = serializedObject.FindProperty("descriptionType"); this.spDescription = serializedObject.FindProperty("description"); this.spIncrementalContainer = serializedObject.FindProperty("incrementalContainer"); this.spImageProgress = serializedObject.FindProperty("imageProgress"); this.sectionAnimation = new QuestUIUtilities.Section( "Animation", "Animation.png", this.Repaint ); this.spAnimator = serializedObject.FindProperty("animator"); this.spTriggerComplete = serializedObject.FindProperty("triggerComplete"); this.spTriggerAbandon = serializedObject.FindProperty("triggerAbandon"); this.spTriggerFail = serializedObject.FindProperty("triggerFail"); this.spTriggerUpdate = serializedObject.FindProperty("triggerUpdate"); this.sectionButtons = new QuestUIUtilities.Section( "Buttons", "Buttons.png", this.Repaint ); this.spToggleTrack = serializedObject.FindProperty("toggleTrack"); this.spButtonActivate = serializedObject.FindProperty("buttonActivate"); this.spButtonAbandon = serializedObject.FindProperty("buttonAbandon"); this.sectionStates = new QuestUIUtilities.Section( "States", "States.png", this.Repaint ); this.spStatusTracking = serializedObject.FindProperty("statusTracking"); this.spStatusInactive = serializedObject.FindProperty("statusInactive"); this.spStatusActive = serializedObject.FindProperty("statusActive"); this.spStatusComplete = serializedObject.FindProperty("statusComplete"); this.spStatusFailed = serializedObject.FindProperty("statusFailed"); this.spStatusAbandoned = serializedObject.FindProperty("statusAbandoned"); this.sectionSubTasks = new QuestUIUtilities.Section( "Tasks", "SubTasks.png", this.Repaint ); this.spSubTasks = serializedObject.FindProperty("subQuestsGroup"); }
// INITIALIZERS: -------------------------------------------------------------------------- private void OnEnable() { this.sectionGeneral = new QuestUIUtilities.Section( "General", "General.png", this.Repaint ); this.spTitle = serializedObject.FindProperty("title"); this.spImage = serializedObject.FindProperty("image"); this.spDescriptionType = serializedObject.FindProperty("descriptionType"); this.spDescription = serializedObject.FindProperty("description"); this.sectionButtons = new QuestUIUtilities.Section( "Buttons", "Buttons.png", this.Repaint ); this.spToggleTrack = serializedObject.FindProperty("toggleTrack"); this.spButtonActivate = serializedObject.FindProperty("buttonActivate"); this.spButtonAbandon = serializedObject.FindProperty("buttonAbandon"); this.sectionStates = new QuestUIUtilities.Section( "States", "States.png", this.Repaint ); this.spStatusTracking = serializedObject.FindProperty("statusTracking"); this.spStatusInactive = serializedObject.FindProperty("statusInactive"); this.spStatusActive = serializedObject.FindProperty("statusActive"); this.spStatusComplete = serializedObject.FindProperty("statusComplete"); this.spStatusFailed = serializedObject.FindProperty("statusFailed"); this.spStatusAbandoned = serializedObject.FindProperty("statusAbandoned"); this.sectionSubTasks = new QuestUIUtilities.Section( "Tasks", "SubTasks.png", this.Repaint ); this.spSubTasks = serializedObject.FindProperty("subQuestsGroup"); }
// INITIALIZERS: -------------------------------------------------------------------------- private void OnEnable() { this.spInitType = serializedObject.FindProperty("initType"); this.spStatusFilter = serializedObject.FindProperty("statusFilter"); this.sectionList = new QuestUIUtilities.Section( "List", "List.png", this.Repaint ); this.spToggleGroup = serializedObject.FindProperty("toggleGroup"); this.spContainer = serializedObject.FindProperty("container"); this.spPrefab = serializedObject.FindProperty("prefab"); this.sectionQuestUI = new QuestUIUtilities.Section( "Quest UI", "QuestUI.png", this.Repaint ); this.spQuestUI = serializedObject.FindProperty("questUI"); }