17 {
19 switch (s[0])
20 {
21 case '(':
23 break;
24 case '*':
25 p =
pop.
PopText(s,
null,
"PopTextOno",
default(
Color),
default(Vector3), duration);
26 break;
27 case '@':
28 {
29 int num = int.Parse(s[1].ToString());
31 if (num == 3)
32 {
34 }
35 break;
36 }
37 case '^':
38 p =
pop.
PopText(s.Substring(1),
null,
"PopTextBroadcast",
default(
Color),
default(Vector3), duration);
39 break;
40 case '|':
41 p =
pop.
PopText(s.Substring(1),
null,
"PopTextAbility",
default(
Color),
default(Vector3), duration);
42 break;
43 default:
45 break;
46 }
47 if (!p)
48 {
49 return;
50 }
52 {
53 if (p != null && p.gameObject != null)
54 {
55 p.RebuildLayout(recursive: true);
56 ContentSizeFitter[] componentsInChildren = p.GetComponentsInChildren<ContentSizeFitter>();
57 for (int i = 0; i < componentsInChildren.Length; i++)
58 {
59 componentsInChildren[i].enabled = false;
60 }
61 LayoutGroup[] componentsInChildren2 = p.GetComponentsInChildren<LayoutGroup>();
62 for (int i = 0; i < componentsInChildren2.Length; i++)
63 {
64 componentsInChildren2[i].enabled = false;
65 }
66 }
67 });
68 }
List< Action > actionsNextFrame
PopItemText PopText(string text, Sprite sprite=null, string id="PopText", Color c=default(Color), Vector3 destPos=default(Vector3), float duration=0f)
static void ShakeCam(string id="default", float magnitude=1f)