Adding in the characters

Added debug buttons to cycle through the characters
Bug fixes
This commit is contained in:
Amaan Shawkath committed 2023-07-08 18:50:49 +01:00
1 parent 7ab1e2cf4c
commit 4697a647ef
13 files changed
+752 -42

No files matched your search

@@ -42,6 +42,12 @@ public class DialoguePanel : MonoBehaviour
{
Cleanup();
if (m_characterSheet != null)
{
// Clear the old sheet
m_characterSheet.gameObject.SetActive(false);
}
m_questionsAsked = 0;
m_currentCharacter = characterData;
m_characterNameText.text = characterData.name;
@@ -52,6 +58,7 @@ public class DialoguePanel : MonoBehaviour
m_characterSheet.SetName(characterData.name);
m_characterSheet.gameObject.SetActive(true);
m_questionHolder.gameObject.SetActive(true);
gameObject.SetActive(true);
}