17 {
18 if (s.IsEmpty())
19 {
20 return;
21 }
23 switch (s[0])
24 {
25 case '(':
27 break;
28 case '*':
29 p =
pop.
PopText(s,
null,
"PopTextOno",
default(
Color),
default(Vector3), duration);
30 break;
31 case '@':
32 {
33 int num = int.Parse(s[1].ToString());
35 if (num == 3)
36 {
38 }
39 break;
40 }
41 case '^':
42 p =
pop.
PopText(s.Substring(1),
null,
"PopTextBroadcast",
default(
Color),
default(Vector3), duration);
43 break;
44 case '|':
45 p =
pop.
PopText(s.Substring(1),
null,
"PopTextAbility",
default(
Color),
default(Vector3), duration);
46 break;
47 default:
49 break;
50 }
51 if (!p)
52 {
53 return;
54 }
56 {
57 if (p != null && p.gameObject != null)
58 {
59 p.RebuildLayout(recursive: true);
60 ContentSizeFitter[] componentsInChildren = p.GetComponentsInChildren<ContentSizeFitter>();
61 for (int i = 0; i < componentsInChildren.Length; i++)
62 {
63 componentsInChildren[i].enabled = false;
64 }
65 LayoutGroup[] componentsInChildren2 = p.GetComponentsInChildren<LayoutGroup>();
66 for (int i = 0; i < componentsInChildren2.Length; i++)
67 {
68 componentsInChildren2[i].enabled = false;
69 }
70 }
71 });
72 }
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)