// Start is called before the first frame update void Start() { scores = new List <int>(); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreenContainer.SetActive(false); gameContainer.SetActive(true); originalColor = button1Image.color; image.SetActive(false); buttonsContainer.SetActive(false); switch (scoreKeeper.concentrationLevel) { case 0: timeAllowedToWatchShape = 1f; break; case 1: timeAllowedToWatchShape = 0.8f; break; case 2: timeAllowedToWatchShape = 0.7f; break; case 3: timeAllowedToWatchShape = 0.6f; break; default: timeAllowedToWatchShape = 0.5f; break; } shapes = new List <Sprite>(); shapes.Add(circle); shapes.Add(square); shapes.Add(star); shapes.Add(hexagon); shapes.Add(triangle); SetupRound(); }
// Start is called before the first frame update void Start() { scores = new List <int>(); times = new List <float>(); shapeStrings = new List <string>(); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreenContainer.SetActive(false); gameContainer.SetActive(true); originalColor = background.material.color; image.SetActive(true); shapes = new List <Sprite>(); shapes.Add(circle); shapes.Add(square); shapes.Add(star); shapes.Add(hexagon); shapes.Add(triangle); shapeStrings.Add("Circle"); shapeStrings.Add("Square"); shapeStrings.Add("Star"); shapeStrings.Add("Hexagon"); shapeStrings.Add("Triangle"); SetupGame(); }
// Start is called before the first frame update void Start() { scores = new List <int>(); sessionManager = FindObjectOfType <SessionManager>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); saveLoader = FindObjectOfType <SaveLoader>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreen.SetActive(false); switch (scoreKeeper.memoryLevel) { case 0: timeAllowed = 5; break; case 1: timeAllowed = 4; break; case 2: timeAllowed = 3; break; case 3: timeAllowed = 2; break; case 4: timeAllowed = 2; break; default: timeAllowed = 1; break; } timer = timeAllowed; SetupRound(); }
// Start is called before the first frame update void Start() { leafBlower = FindObjectOfType <LeafBlower>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); }
// Start is called before the first frame update void Start() { pickTheCardWithPictures = FindObjectOfType <PickTheCardWithPictures>(); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); }
// Start is called before the first frame update void Start() { sessionManager = FindObjectOfType <SessionManager>(); scoreText.text = "0"; saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreenContainer.SetActive(false); gameContainer.SetActive(false); Invoke("SetupGame", 3f); }
// Start is called before the first frame update void Start() { sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreen.SetActive(false); game.SetActive(false); buttons.SetActive(false); timer = -1000000; Invoke("StartGame", 7.5f); }
// Start is called before the first frame update void Start() { sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreen.SetActive(false); game.SetActive(true); originalColor = button1Text.color; scores = new List <int>(); correctAnswers = new List <string>(); SetupRound(); }
// Start is called before the first frame update void Start() { sessionManager = FindObjectOfType <SessionManager>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); saveLoader = FindObjectOfType <SaveLoader>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); originalColor = button1Text.color; scores = new List <int>(); times = new List <float>(); game.SetActive(true); endScreen.SetActive(false); SetupQuestion(); }
// Start is called before the first frame update void Start() { stringArrays = new List <string[]>(); stringArrays.Add(englishWords); stringArrays.Add(russianWords); stringArrays.Add(chineseWords); stringArrays.Add(spanishWords); stringArrays.Add(germanWords); stringArrays.Add(frenchWords); stringArrays.Add(norwegianWords); stringArrays.Add(turkishWords); stringArrays.Add(italianWords); stringArrays.Add(arabianWords); stringArrays.Add(hindiWords); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreen.SetActive(false); game.SetActive(true); originalColor = button1Text.color; scores = new List <int>(); SetupRound(); }
// Start is called before the first frame update void Start() { scores = new List <int>(); questionIndices = new List <int>(); friendNames = new List <string>(); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); scoreKeeper = FindObjectOfType <ScoreKeeper>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endContainer.SetActive(false); gameContainer.SetActive(true); originalColor = backGround.material.color; SetupGame(); timeAllowedToRead -= scoreKeeper.memoryLevel; if (timeAllowedToRead < 10) { timeAllowedToRead = 10; } timer = timeAllowedToRead; }
void Start() { scoreKeeper = FindObjectOfType <ScoreKeeper>(); sessionManager = FindObjectOfType <SessionManager>(); saveLoader = FindObjectOfType <SaveLoader>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); endScreen.SetActive(false); switch (scoreKeeper.memoryLevel) { case 0: timeTheyCanSeeSentence = 3; break; case 1: timeTheyCanSeeSentence = 3; break; case 2: timeTheyCanSeeSentence = 4; break; case 3: timeTheyCanSeeSentence = 5; break; case 4: timeTheyCanSeeSentence = 6; break; default: timeTheyCanSeeSentence = 6; break; } scores = new List <int>(); answerObject.SetActive(false); questionObject.SetActive(true); questionText.text = GenerateRandomString(scoreKeeper.memoryLevel + 3); }
// Start is called before the first frame update void Start() { findTheFlowerAmong = FindObjectOfType <FindTheFlowerAmongTheLeafs>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); background = GameObject.FindGameObjectWithTag("background"); }
// Start is called before the first frame update void Start() { pickTheCardWithPictures = FindObjectOfType <PickTheCardWithPictures>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); }
private void Start() { hitTheLightsGame = FindObjectOfType <HitTheLightsGame>(); antonymsSfxManager = FindObjectOfType <AntonymsSfxManager>(); }