Esempio n. 1
0
    private IEnumerator changeMenu()
    {
        yield return(StartCoroutine(AnimationController.inst.changeMenuHideOut(texts, select ? 0 : 1)));

        selectorLang.gameObject.SetActive(false);
        selectorMain.gameObject.SetActive(true);
        // menuMainController.gameObject.SetActive(true);
        input.rotationX = -60f;
        menuMain.GetFocus(input.rotationX + 59.0f);
        yield return(StartCoroutine(
                         AnimationController.inst.changeMenuShowIn2(menuMain.optionRus, menuMain.optionEng, menuMain.selectMainPos)));

        menuMain.chooseTime = true;

        gameObject.SetActive(false);
    }