Esempio n. 1
0
    public void Natalya2Skin()
    {
        colorFedor2.SetActive(false);
        colorNatalya2.SetActive(true);

        FedorP2.SetActive(false);
        FedorP2Skin.SetActive(false);

        EventP2.SetActive(false);
    }
Esempio n. 2
0
    public void Marcus2Skin()
    {
        colorFedor2.SetActive(false);
        colorNatalya2.SetActive(false);
        colorMarcus2.SetActive(true);

        FedorP2.SetActive(false);
        FedorP2Skin.SetActive(false);
        NatalyaP2.SetActive(false);
        NatalyaP2Skin.SetActive(false);
    }
Esempio n. 3
0
    public void NatalyaSelect2()
    {
        FedorP2.SetActive(false);
        NatalyaP2.SetActive(true);

        NatalyaP2Skin.SetActive(false);

        Natalya1Yellow.interactable = false;
        Natalya1Orange.interactable = true;

        Fedor1Pink.interactable  = true;
        Fedor1Green.interactable = true;
    }
Esempio n. 4
0
    public void MarcusSelect2()
    {
        FedorP2.SetActive(false);
        NatalyaP2.SetActive(false);
        MarcusP2.SetActive(true);

        MarcusP2Skin.SetActive(false);

        Marcus1Yellow.interactable = false;
        Marcus1Orange.interactable = true;

        Fedor2Pink.interactable  = true;
        Fedor2Green.interactable = true;

        Natalya2Yellow.interactable = true;
        Natalya2Orange.interactable = true;
    }
Esempio n. 5
0
    public void CancelPlayer2()
    {
        if (Input.GetButton("B2") || Input.GetKeyDown(KeyCode.Backspace))
        {
            if (!checkPlayer1 && !checkPlayer2)
            {
                goMenu3();
            }
            else
            {
                checkPlayer2 = false;
                confirmButton.SetActive(false);
                FedorP2.SetActive(false);
                NatalyaP2.SetActive(false);

                EventP2.SetActive(true);

                colorFedor2.SetActive(false);
                colorNatalya2.SetActive(false);

                FedorP2.SetActive(false);
                NatalyaP2.SetActive(false);

                FedorP2Skin.SetActive(false);
                NatalyaP2Skin.SetActive(false);

                if (NumPlayer2 == 0 || NumPlayer2 == 3)
                {
                    Fedor1Pink.interactable  = true;
                    Fedor1Green.interactable = true;
                }
                else
                {
                    Natalya1Yellow.interactable = true;
                    Natalya1Orange.interactable = true;
                }
            }
        }
    }