private void Start() { cutSceneCam.gameObject.SetActive(true); blackCam.gameObject.SetActive(false); blackEdgesEffect.SetActive(true); footStepSound.forceSound = true; playerCam.gameObject.SetActive(false); playerStats.SetActive(false); inventory.SetActive(false); infoBox.Close(); worldMan.intManager.ResetInRangeInteractable(); currentPoint = 0; cutSceneCam.transform.position = path[currentPoint].position; rainZone.Init(); rainZone.UpdateSystem(CLOSEST_WORLD_AREA); GetComponent <AudioSource>().Play(); }
bool normalReading; // is the reading of type "read" or "chant"? private void Start() { gamePlayStartTime = (int)Time.time; nrRescuedVictims = 0; hasEncounteredVictim = false; victimStatIndicator.GetComponent <Text>().text = VICTIM_INDICATOR_TEXT + nrRescuedVictims + " / " + VictimFactory.maxVictims[GameController.instance.diffLvl]; demonsEncountered = 0; hintInfo = GameController.instance.hintInfo; infoBox.Init(); infoBox.Close(); if (!GameController.instance.showIntro) { InitMessages(); // If the InitMessages() has not already been called by InitSeq } }