1using System.Collections.Generic;
11 public override bool Play()
21 timer += Time.deltaTime;
26 if (Input.GetKeyDown(KeyCode.Escape))
46 num = (Application.isEditor ? 200f : 30f);
48 list.dsv.contentAnchoredPosition += Time.deltaTime * sequence.manager.creditSpeed * num;
57 List<Dictionary<string, string>> items = excelData.
BuildList();
62 onRedraw = delegate(
string a,
UIItem b,
int i)
69 for (
int k = 0; k < Screen.height / 32 + 1; k++)
75 if (
item.StartsWith(
"#"))
77 string[] array =
item.Replace(
"#",
"").Split(
',');
78 string text = array[0];
79 int num2 = array[1].ToInt();
80 foreach (Dictionary<string, string> item2
in items)
84 for (
int l = 0; l < num2; l++)
90 if ((text ==
"Abandon" && item2[
"abandon"] ==
"Yes") || item2[
"Pledge"] == text)
92 AddBacker(item2[
"Name"]);
94 if (index % 5 >= 5 - num2)
96 for (
int n = 0; n < num2; n++)
109 for (
int num3 = 0; num3 < Screen.height / 32 / 2 - 1; num3++)
111 Space(newline:
true);
118 Space(newline:
false);
126 void AddBacker(
string s)
131 void Space(
bool newline)
133 int num = (newline ? 5 : 0);
136 num += 5 - index % 5;
138 for (
int j = 0; j < num; j++)
static string ConvertName(string s)
List< Dictionary< string, string > > BuildList(string sheetName="_default")
override void Add(object o)