Beispiel #1
0
    public void ScenarioFireSelect(bool bigFire)
    {
        if (!MainMenuCamera.isMoving)
        {
            scenarioContainer["sf"].gameObject.SetActive(true);
            currScenario = scenarioContainer["sf"];
            currScenario.GetComponent <ScenarioFire>().IsBigFire = bigFire;

            if (bigFire)
            {
                Header.text = "BIG FIRE";
            }
            else
            {
                Header.text = "SMALL FIRE";
            }

            //currScenario.Init();
            RoomHandler.instance.ShowMenu();
            isScenarioActivated = true;
            PlayerToStartPos();
            olEffect.enabled = true;
        }
    }