//[SerializeField] List<int> statement = new List<int>(); //[SerializeField] List<int> character = new List<int>(); //[SerializeField] List<int> answers = new List<int>(); void Start() { answers = FindObjectOfType <Answers>(); testingArrayOrList = FindObjectOfType <TestingArrayOrList>(); characterResult = FindObjectOfType <CharacterResult>(); charArray = testingArrayOrList.charArray; //acceptChoice = FindObjectOfType<AcceptChoice>(); //charArray = acceptChoice.charArray; // int indexChar = character.IndexOf(120); // List.IndexOf(character); // statement.Add(1); // statement.Add(2); // statement.Add(3); // statement.Add(4); // statement.Add(5); // statement.Add(6); // statement.Add(7); // statement.Add(8); // statement.Add(9); // statement.Add(10); // statement.Add(11); // statement.Add(12); // statement.Add(13); // statement.Add(14); // statement.Add(15); // statement.Add(16); // statement.Add(17); // statement.Add(18); // statement.Add(19); // statement.Add(20); // foreach (int o in statement) // { // for (int i = 0; i< 6; i++) // { // character.Add(i); // } // } // foreach (int p in character) // { // for (int i = 0; i< 4; i++) // { // answers.Add(i); // } // } // currentStatement = 1; // lastStatement = 1; }
void Start() { acceptChoice = FindObjectOfType <AcceptChoice>(); testingArrayOrList = FindObjectOfType <TestingArrayOrList>(); }