Updated character sheet so it only displays when the dialogue has been completed
This commit is contained in:
@@ -57,9 +57,18 @@ public class DialoguePanel : MonoBehaviour
|
||||
m_characterText.text = "Select an option...";
|
||||
|
||||
SetupCharacterSheet();
|
||||
|
||||
if (CharacterManager.Instance.CharacterInterviewed(characterData.name))
|
||||
{
|
||||
m_characterSheet.SetName(characterData.name);
|
||||
m_characterSheet.gameObject.SetActive(true);
|
||||
|
||||
// Hide the dialogue panel.
|
||||
gameObject.SetActive(false);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
m_questionIndexAsked.Clear();
|
||||
m_questionHolder.gameObject.SetActive(true);
|
||||
gameObject.SetActive(true);
|
||||
|
||||
Reference in New Issue
Block a user