From 94097c2308551832fecd42755878113ea0d81ea0 Mon Sep 17 00:00:00 2001 From: Amaan Shawkath Date: Sat, 8 Jul 2023 14:32:59 +0100 Subject: [PATCH] Cleaning up using statements --- Assets/Scripts/DialogueSystem/CharacterData.cs | 3 +-- Assets/Scripts/DialogueSystem/Dialogue.cs | 3 --- Assets/Scripts/DialogueSystem/DialogueController.cs | 1 - Assets/Scripts/DialogueSystem/UI/DialoguePanel.cs | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Assets/Scripts/DialogueSystem/CharacterData.cs b/Assets/Scripts/DialogueSystem/CharacterData.cs index 508db3b..74b00ef 100644 --- a/Assets/Scripts/DialogueSystem/CharacterData.cs +++ b/Assets/Scripts/DialogueSystem/CharacterData.cs @@ -1,4 +1,3 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -13,6 +12,6 @@ public class CharacterData : ScriptableObject public int m_intelligence; public int m_money; - // Note - the index of the dialogue will control what question it is linked too. + [Header("The index of the dialogue relates to what question it should link too.")] public List m_dialogueOptions; } diff --git a/Assets/Scripts/DialogueSystem/Dialogue.cs b/Assets/Scripts/DialogueSystem/Dialogue.cs index 82e63c7..4d4e805 100644 --- a/Assets/Scripts/DialogueSystem/Dialogue.cs +++ b/Assets/Scripts/DialogueSystem/Dialogue.cs @@ -1,6 +1,3 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; [System.Serializable] public class Dialogue diff --git a/Assets/Scripts/DialogueSystem/DialogueController.cs b/Assets/Scripts/DialogueSystem/DialogueController.cs index 11a251b..f720dfe 100644 --- a/Assets/Scripts/DialogueSystem/DialogueController.cs +++ b/Assets/Scripts/DialogueSystem/DialogueController.cs @@ -1,4 +1,3 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; diff --git a/Assets/Scripts/DialogueSystem/UI/DialoguePanel.cs b/Assets/Scripts/DialogueSystem/UI/DialoguePanel.cs index 842813e..1212329 100644 --- a/Assets/Scripts/DialogueSystem/UI/DialoguePanel.cs +++ b/Assets/Scripts/DialogueSystem/UI/DialoguePanel.cs @@ -1,5 +1,4 @@ using System.Collections; -using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI;