Example #1
0
    public void Natalya2Skin()
    {
        colorFedor2.SetActive(false);
        colorNatalya2.SetActive(true);

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

        EventP2.SetActive(false);
    }
Example #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);
    }
Example #3
0
    public void NatalyaSkinSelect2()
    {
        FedorP2Skin.SetActive(false);
        NatalyaP2Skin.SetActive(true);

        NatalyaP2.SetActive(false);

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

        Fedor1Pink.interactable  = true;
        Fedor1Green.interactable = true;
    }
Example #4
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;
                }
            }
        }
    }