コード例 #1
0
 public static void EmptyDialogBox()
 {
     foreach (GameObject c in currentlyDisplayedLetters)
     {
         Object.Destroy(c);
     }
     totalLineLength = 0;
     previouslyPrintedLetterLocation = 0;
     letterCount             = 0;
     lineY                   = -6;
     previouslyPrintedLetter = '\0';
     Instance.m_TextArea.GetComponent <RectTransform>().sizeDelta = new Vector2(Instance.m_TextArea.GetComponent <RectTransform>().sizeDelta.x, 12);
     Instance.GetComponentInChildren <ScrollRect>().verticalNormalizedPosition = 1;
 }