Textboxes now instantiate on triggers, ish

This commit is contained in:
Rizvee committed 2022-02-23 17:40:38 -06:00
1 parent 71ea85379f
commit 3a81f1a122
6 files changed
+310 -80

No files matched your search

+4
View File
@@ -16,6 +16,7 @@ public class Dialogue : MonoBehaviour
//used to activate/deactivate test object
//activate through outside means probably
public GameObject textTest;
public GameObject headText;
//used to print the first x letters of the text
int cCount = 0;
//changes the pace at which chars appear
@@ -73,6 +74,9 @@ public class Dialogue : MonoBehaviour
isOpen = false;
Movement.pause = false;
textTest.SetActive(false);
headText.SetActive(false);
cCount = 0;
curPage = 0;
}
else
{