mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Textboxes now instantiate on triggers, ish
This commit is contained in:
1 parent
71ea85379f
commit
3a81f1a122
6 files changed
+310
-80
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user